6 lines
291 B
JavaScript
6 lines
291 B
JavaScript
import { dateTimestampProvider } from '../scheduler/dateTimestampProvider';
|
|
import { map } from './map';
|
|
export function timestamp(timestampProvider = dateTimestampProvider) {
|
|
return map((value) => ({ value, timestamp: timestampProvider.now() }));
|
|
}
|
|
//# sourceMappingURL=timestamp.js.map
|