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

Function asyncFiberException

packages/effect/src/internal/runtime.ts:181–187  ·  view source on GitHub ↗
(fiber: Fiber.RuntimeFiber<A, E>)

Source from the content-addressed store, hash-verified

179}
180
181const asyncFiberException = <A, E>(fiber: Fiber.RuntimeFiber<A, E>): Runtime.AsyncFiberException<A, E> => {
182 const limit = Error.stackTraceLimit
183 Error.stackTraceLimit = 0
184 const error = new AsyncFiberExceptionImpl(fiber)
185 Error.stackTraceLimit = limit
186 return error
187}
188
189/** @internal */
190export const isAsyncFiberException = (u: unknown): u is Runtime.AsyncFiberException<unknown, unknown> =>

Callers 1

runtime.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…