Aktueller Stand
This commit is contained in:
28
backend/node_modules/effect/dist/esm/internal/fiberMessage.js
generated
vendored
Normal file
28
backend/node_modules/effect/dist/esm/internal/fiberMessage.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
/** @internal */
|
||||
export const OP_INTERRUPT_SIGNAL = "InterruptSignal";
|
||||
/** @internal */
|
||||
export const OP_STATEFUL = "Stateful";
|
||||
/** @internal */
|
||||
export const OP_RESUME = "Resume";
|
||||
/** @internal */
|
||||
export const OP_YIELD_NOW = "YieldNow";
|
||||
/** @internal */
|
||||
export const interruptSignal = cause => ({
|
||||
_tag: OP_INTERRUPT_SIGNAL,
|
||||
cause
|
||||
});
|
||||
/** @internal */
|
||||
export const stateful = onFiber => ({
|
||||
_tag: OP_STATEFUL,
|
||||
onFiber
|
||||
});
|
||||
/** @internal */
|
||||
export const resume = effect => ({
|
||||
_tag: OP_RESUME,
|
||||
effect
|
||||
});
|
||||
/** @internal */
|
||||
export const yieldNow = () => ({
|
||||
_tag: OP_YIELD_NOW
|
||||
});
|
||||
//# sourceMappingURL=fiberMessage.js.map
|
||||
Reference in New Issue
Block a user