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 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