arrow-fx-coroutines / arrow.fx.coroutines.stream / Stream / onFinalize

onFinalize

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?

Arrow Org
<