Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
574 bytes
|
Line | |
---|
1 | /** PURE_IMPORTS_START _scheduler_async,_map PURE_IMPORTS_END */
|
---|
2 | import { async } from '../scheduler/async';
|
---|
3 | import { map } from './map';
|
---|
4 | export function timestamp(scheduler) {
|
---|
5 | if (scheduler === void 0) {
|
---|
6 | scheduler = async;
|
---|
7 | }
|
---|
8 | return map(function (value) { return new Timestamp(value, scheduler.now()); });
|
---|
9 | }
|
---|
10 | var Timestamp = /*@__PURE__*/ (function () {
|
---|
11 | function Timestamp(value, timestamp) {
|
---|
12 | this.value = value;
|
---|
13 | this.timestamp = timestamp;
|
---|
14 | }
|
---|
15 | return Timestamp;
|
---|
16 | }());
|
---|
17 | export { Timestamp };
|
---|
18 | //# sourceMappingURL=timestamp.js.map
|
---|
Note:
See
TracBrowser
for help on using the repository browser.