timestamp.js 291 B

123456
  1. import { dateTimestampProvider } from '../scheduler/dateTimestampProvider';
  2. import { map } from './map';
  3. export function timestamp(timestampProvider = dateTimestampProvider) {
  4. return map((value) => ({ value, timestamp: timestampProvider.now() }));
  5. }
  6. //# sourceMappingURL=timestamp.js.map