(effect: Micro<A, E>)
| 4287 | * @category execution |
| 4288 | */ |
| 4289 | export const runSyncExit = <A, E>(effect: Micro<A, E>): MicroExit<A, E> => { |
| 4290 | const scheduler = new MicroSchedulerDefault() |
| 4291 | const fiber = runFork(effect, { scheduler }) |
| 4292 | scheduler.flush() |
| 4293 | return fiber._exit ?? exitDie(fiber) |
| 4294 | } |
| 4295 | |
| 4296 | /** |
| 4297 | * Attempt to execute the `Micro` effect synchronously and return the success |