MCPcopy Index your code
hub / github.com/Effect-TS/effect / deferredIsDone

Function deferredIsDone

packages/effect/src/internal/core.ts:2959–2960  ·  view source on GitHub ↗
(self: Deferred.Deferred<A, E>)

Source from the content-addressed store, hash-verified

2957
2958/* @internal */
2959export const deferredIsDone = <A, E>(self: Deferred.Deferred<A, E>): Effect.Effect<boolean> =>
2960 sync(() => MutableRef.get(self.state)._tag === DeferredOpCodes.OP_STATE_DONE)
2961
2962/* @internal */
2963export const deferredPoll = <A, E>(

Callers

nothing calls this directly

Calls 2

syncFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected