wishthis/node_modules/rxjs/dist/esm5/internal/operators/timestamp.js

7 lines
377 B
JavaScript
Raw Normal View History

2022-06-08 10:36:39 +00:00
import { dateTimestampProvider } from '../scheduler/dateTimestampProvider';
import { map } from './map';
export function timestamp(timestampProvider) {
if (timestampProvider === void 0) { timestampProvider = dateTimestampProvider; }
return map(function (value) { return ({ value: value, timestamp: timestampProvider.now() }); });
}
//# sourceMappingURL=timestamp.js.map