mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
19 lines
574 B
JavaScript
19 lines
574 B
JavaScript
/** PURE_IMPORTS_START _scheduler_async,_map PURE_IMPORTS_END */
|
|
import { async } from '../scheduler/async';
|
|
import { map } from './map';
|
|
export function timestamp(scheduler) {
|
|
if (scheduler === void 0) {
|
|
scheduler = async;
|
|
}
|
|
return map(function (value) { return new Timestamp(value, scheduler.now()); });
|
|
}
|
|
var Timestamp = /*@__PURE__*/ (function () {
|
|
function Timestamp(value, timestamp) {
|
|
this.value = value;
|
|
this.timestamp = timestamp;
|
|
}
|
|
return Timestamp;
|
|
}());
|
|
export { Timestamp };
|
|
//# sourceMappingURL=timestamp.js.map
|