Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

timestamp.js 608B

123456789101112131415161718
  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