21 lines
453 B
JavaScript
21 lines
453 B
JavaScript
|
|
/** @internal */
|
||
|
|
export const OP_NOT_STARTED = "NotStarted";
|
||
|
|
/** @internal */
|
||
|
|
export const OP_PREVIOUS = "Previous";
|
||
|
|
/** @internal */
|
||
|
|
export const OP_CURRENT = "Current";
|
||
|
|
/** @internal */
|
||
|
|
export const notStarted = {
|
||
|
|
_tag: OP_NOT_STARTED
|
||
|
|
};
|
||
|
|
/** @internal */
|
||
|
|
export const previous = fiber => ({
|
||
|
|
_tag: OP_PREVIOUS,
|
||
|
|
fiber
|
||
|
|
});
|
||
|
|
/** @internal */
|
||
|
|
export const current = fiber => ({
|
||
|
|
_tag: OP_CURRENT,
|
||
|
|
fiber
|
||
|
|
});
|
||
|
|
//# sourceMappingURL=debounceState.js.map
|