()
| 113 | } |
| 114 | |
| 115 | function run() { |
| 116 | if (running) { |
| 117 | pending = true |
| 118 | return |
| 119 | } |
| 120 | running = true |
| 121 | runFork(effect).addObserver(handleExit) |
| 122 | } |
| 123 | |
| 124 | const cancel = unsafeRegister(keys, run) |
| 125 | yield* Scope.addFinalizer(scope, Effect.sync(cancel)) |
no test coverage detected