aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/timestamp.js
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/timestamp.js')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/timestamp.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/timestamp.js b/sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/timestamp.js
new file mode 100644
index 00000000..52bb2798
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/timestamp.js
@@ -0,0 +1,18 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var async_1 = require("../scheduler/async");
+var map_1 = require("./map");
+function timestamp(scheduler) {
+ if (scheduler === void 0) { scheduler = async_1.async; }
+ return map_1.map(function (value) { return new Timestamp(value, scheduler.now()); });
+}
+exports.timestamp = timestamp;
+var Timestamp = (function () {
+ function Timestamp(value, timestamp) {
+ this.value = value;
+ this.timestamp = timestamp;
+ }
+ return Timestamp;
+}());
+exports.Timestamp = Timestamp;
+//# sourceMappingURL=timestamp.js.map \ No newline at end of file