source: trip-planner-front/node_modules/rxjs/_esm2015/internal/operators/timestamp.js@ 6c1585f

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

initial commit

  • Property mode set to 100644
File size: 358 bytes
Line 
1import { async } from '../scheduler/async';
2import { map } from './map';
3export function timestamp(scheduler = async) {
4 return map((value) => new Timestamp(value, scheduler.now()));
5}
6export class Timestamp {
7 constructor(value, timestamp) {
8 this.value = value;
9 this.timestamp = timestamp;
10 }
11}
12//# sourceMappingURL=timestamp.js.map
Note: See TracBrowser for help on using the repository browser.