hugoWebsite/node_modules/rxjs/dist/esm/internal/operators/timestamp.js

6 lines
291 B
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
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