mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 00:43:04 +00:00
7 lines
377 B
JavaScript
7 lines
377 B
JavaScript
import { dateTimestampProvider } from '../scheduler/dateTimestampProvider';
|
|
import { map } from './map';
|
|
export function timestamp(timestampProvider) {
|
|
if (timestampProvider === void 0) { timestampProvider = dateTimestampProvider; }
|
|
return map(function (value) { return ({ value: value, timestamp: timestampProvider.now() }); });
|
|
}
|
|
//# sourceMappingURL=timestamp.js.map
|