Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

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