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

Function onHalt

packages/effect/src/Stream.ts:3652–3654  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

3650 return [acc, pairs]
3651 }, {
3652 onHalt(state) {
3653 return state._tag === "Some" ? [[state.value, Option.none<A>()]] : []
3654 }
3655 })
3656
3657/**

Callers

nothing calls this directly

Calls 2

takeAllMethod · 0.65
ofMethod · 0.65

Tested by

no test coverage detected