arrow-fx / arrow.fx / IO / flatMap
flatMap
open fun <B> flatMap(f: (A) ->
IOOf
<B>):
IO
<B>
Transform the IO value of A by sequencing an effect IO that results in B.
Parameters
f
- function that returns the IO effect resulting in B based on the input A.
Returns
an effect that results in B.