source: trip-planner-front/node_modules/rxjs/internal/operators/timestamp.js@ e29cc2e

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

initial commit

  • Property mode set to 100644
File size: 608 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var async_1 = require("../scheduler/async");
4var map_1 = require("./map");
5function timestamp(scheduler) {
6 if (scheduler === void 0) { scheduler = async_1.async; }
7 return map_1.map(function (value) { return new Timestamp(value, scheduler.now()); });
8}
9exports.timestamp = timestamp;
10var Timestamp = (function () {
11 function Timestamp(value, timestamp) {
12 this.value = value;
13 this.timestamp = timestamp;
14 }
15 return Timestamp;
16}());
17exports.Timestamp = Timestamp;
18//# sourceMappingURL=timestamp.js.map
Note: See TracBrowser for help on using the repository browser.