MCPcopy Create free account
hub / github.com/Effect-TS/effect / handoffStateEmpty

Function handoffStateEmpty

packages/effect/src/internal/stream/handoff.ts:63–66  ·  view source on GitHub ↗
(notifyConsumer: Deferred.Deferred<void>)

Source from the content-addressed store, hash-verified

61
62/** @internal */
63const handoffStateEmpty = <A>(notifyConsumer: Deferred.Deferred<void>): Handoff.State<A> => ({
64 _tag: OP_HANDOFF_STATE_EMPTY,
65 notifyConsumer
66})
67
68/** @internal */
69const handoffStateFull = <A>(value: A, notifyProducer: Deferred.Deferred<void>): Handoff.State<A> => ({

Callers 3

makeFunction · 0.85
takeFunction · 0.85
handoff.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…