blob: 9cb028113490f4727928b95ad88e989e4f15145c [file] [log] [blame]
import { async } from '../scheduler/async';
import { map } from './map';
export function timestamp(scheduler = async) {
return map((value) => new Timestamp(value, scheduler.now()));
}
export class Timestamp {
constructor(value, timestamp) {
this.value = value;
this.timestamp = timestamp;
}
}
//# sourceMappingURL=timestamp.js.map