arrow-fx-coroutines / arrow.fx.coroutines.stream / Stream / onFinalize
fun onFinalize(f: suspend () -> Unit): Stream<O>
fun onFinalize(f: suspend () ->
Unit
):
Stream
<O>
Run the supplied effectful action at the end of this stream, regardless of how the stream terminates.
Do you like Arrow?