UNPKG

veffect

Version:

powerful TypeScript validation library built on the robust foundation of Effect combining exceptional type safety, high performance, and developer experience. Taking inspiration from Effect's functional principles, VEffect delivers a balanced approach tha

27 lines 598 B
import * as OpCodes from "./opCodes/deferred.js"; /** @internal */ const DeferredSymbolKey = "effect/Deferred"; /** @internal */ export const DeferredTypeId = /*#__PURE__*/Symbol.for(DeferredSymbolKey); /** @internal */ export const deferredVariance = { /* c8 ignore next */ _E: _ => _, /* c8 ignore next */ _A: _ => _ }; /** @internal */ export const pending = joiners => { return { _tag: OpCodes.OP_STATE_PENDING, joiners }; }; /** @internal */ export const done = effect => { return { _tag: OpCodes.OP_STATE_DONE, effect }; }; //# sourceMappingURL=deferred.js.map