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