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

timestamp.js 358B

123456789101112
  1. import { async } from '../scheduler/async';
  2. import { map } from './map';
  3. export function timestamp(scheduler = async) {
  4. return map((value) => new Timestamp(value, scheduler.now()));
  5. }
  6. export class Timestamp {
  7. constructor(value, timestamp) {
  8. this.value = value;
  9. this.timestamp = timestamp;
  10. }
  11. }
  12. //# sourceMappingURL=timestamp.js.map