(
res: Exit.Exit<X, E> | Effect.Blocked<X, E>
)
| 2298 | )) |
| 2299 | } |
| 2300 | const onRes = ( |
| 2301 | res: Exit.Exit<X, E> | Effect.Blocked<X, E> |
| 2302 | ): Effect.Effect<Exit.Exit<X, E> | Effect.Blocked<X, E>, never, R> => { |
| 2303 | if (todos.length > 0) { |
| 2304 | pushResult(res, index) |
| 2305 | if (todos.length > 0) { |
| 2306 | return returnNextElement() |
| 2307 | } |
| 2308 | } |
| 2309 | return core.succeed(res) |
| 2310 | } |
| 2311 | const todo = core.flatMap( |
| 2312 | stepOrExit(restore(f(a, index))), |
| 2313 | onRes |
nothing calls this directly
no test coverage detected