(f: () => void)
| 480 | let bodyScope: Scope.Closeable | undefined |
| 481 | |
| 482 | const write = (f: () => void): Effect.Effect<void, TarError> => { |
| 483 | try { |
| 484 | f() |
| 485 | } catch (error) { |
| 486 | return isTarError(error) ? Effect.fail(error) : Effect.die(error) |
| 487 | } |
| 488 | return Effect.void |
| 489 | } |
| 490 | |
| 491 | return Effect.gen(function*() { |
| 492 | while (true) { |
no test coverage detected