diff options
Diffstat (limited to 'node_modules/rxjs/dist/esm/internal/operators/timestamp.js')
| -rw-r--r-- | node_modules/rxjs/dist/esm/internal/operators/timestamp.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm/internal/operators/timestamp.js b/node_modules/rxjs/dist/esm/internal/operators/timestamp.js new file mode 100644 index 0000000..b96206e --- /dev/null +++ b/node_modules/rxjs/dist/esm/internal/operators/timestamp.js @@ -0,0 +1,6 @@ +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
\ No newline at end of file |
