This repository has been archived on 2026-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
todo/node_modules/rxjs/dist/esm5/internal/operators/timestamp.js
2025-06-13 14:04:40 +08:00

7 lines
377 B
JavaScript

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