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

Function done

packages/effect/src/internal/take.ts:46–47  ·  view source on GitHub ↗
(self: Take.Take<A, E>)

Source from the content-addressed store, hash-verified

44
45/** @internal */
46export const done = <A, E>(self: Take.Take<A, E>): Effect.Effect<Chunk.Chunk<A>, Option.Option<E>> =>
47 Effect.suspend(() => self.exit)
48
49/** @internal */
50export const end: Take.Take<never> = new TakeImpl(Exit.fail(Option.none()))

Callers 2

finalizeFunction · 0.70
handleSideFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected