(
res: Exit.Exit<X, E> | Effect.Blocked<X, E>
)
| 2288 | )) |
| 2289 | } |
| 2290 | const onRes = ( |
| 2291 | res: Exit.Exit<X, E> | Effect.Blocked<X, E> |
| 2292 | ): Effect.Effect<Exit.Exit<X, E> | Effect.Blocked<X, E>, never, R> => { |
| 2293 | if (todos.length > 0) { |
| 2294 | pushResult(res, index) |
| 2295 | if (todos.length > 0) { |
| 2296 | return returnNextElement() |
| 2297 | } |
| 2298 | } |
| 2299 | return core.succeed(res) |
| 2300 | } |
| 2301 | const todo = core.flatMap( |
| 2302 | stepOrExit(restore(f(a, index))), |
| 2303 | onRes |
nothing calls this directly
no test coverage detected