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()); });
9 exports.timestamp = timestamp;
10 var Timestamp = (function () {
11 function Timestamp(value, timestamp) {
13 this.timestamp = timestamp;
17 exports.Timestamp = Timestamp;
18 //# sourceMappingURL=timestamp.js.map