wishthis/node_modules/rxjs/dist/esm/internal/operators/timestamp.js
2022-04-07 09:06:43 +02:00

6 lines
No EOL
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