(fiber: Fiber.RuntimeFiber<A, E>)
| 179 | } |
| 180 | |
| 181 | const 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 */ |
| 190 | export const isAsyncFiberException = (u: unknown): u is Runtime.AsyncFiberException<unknown, unknown> => |
no outgoing calls
no test coverage detected
searching dependent graphs…