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

Function return

packages/effect/src/Stream.ts:11162–11164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11160 throw Cause.squash(exit.cause)
11161 },
11162 return() {
11163 return close(Exit.void)
11164 },
11165 async throw(error) {
11166 await closeAndReportError(Exit.die(error))
11167 throw error

Callers

nothing calls this directly

Calls 1

closeFunction · 0.70

Tested by

no test coverage detected