source: trip-planner-front/node_modules/rxjs/_esm5/internal/operators/timestamp.js@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 574 bytes
Line 
1/** PURE_IMPORTS_START _scheduler_async,_map PURE_IMPORTS_END */
2import { async } from '../scheduler/async';
3import { map } from './map';
4export function timestamp(scheduler) {
5 if (scheduler === void 0) {
6 scheduler = async;
7 }
8 return map(function (value) { return new Timestamp(value, scheduler.now()); });
9}
10var Timestamp = /*@__PURE__*/ (function () {
11 function Timestamp(value, timestamp) {
12 this.value = value;
13 this.timestamp = timestamp;
14 }
15 return Timestamp;
16}());
17export { Timestamp };
18//# sourceMappingURL=timestamp.js.map
Note: See TracBrowser for help on using the repository browser.