UNPKG

387 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3/**
4 * Defer the given action until the relevant ScriptableFlushable is flushable
5 * @param {ScriptedFlushable<T>} flushable
6 * @param {ScriptAction<T, R>} promise
7 */
8function defer(flushable, promise) {
9 flushable.recordAction(() => promise);
10}
11exports.defer = defer;
12//# sourceMappingURL=Flushable.js.map
\No newline at end of file