Last change
on this file since 76712b2 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";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | var async_1 = require("../scheduler/async");
|
---|
4 | var map_1 = require("./map");
|
---|
5 | function 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 | }
|
---|
9 | exports.timestamp = timestamp;
|
---|
10 | var Timestamp = (function () {
|
---|
11 | function Timestamp(value, timestamp) {
|
---|
12 | this.value = value;
|
---|
13 | this.timestamp = timestamp;
|
---|
14 | }
|
---|
15 | return Timestamp;
|
---|
16 | }());
|
---|
17 | exports.Timestamp = Timestamp;
|
---|
18 | //# sourceMappingURL=timestamp.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.