()
| 47 | this.#isOpen = true |
| 48 | } |
| 49 | await(): Effect.Effect<unknown> { |
| 50 | return Effect.async((cb) => { |
| 51 | const check = () => { |
| 52 | if (this.#isOpen) { |
| 53 | cb(Effect.void) |
| 54 | } else { |
| 55 | setTimeout(() => { |
| 56 | check() |
| 57 | }, 100) |
| 58 | } |
| 59 | } |
| 60 | setTimeout(check, 100) |
| 61 | }) |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | const chain = (depth: number) => |
no outgoing calls
no test coverage detected