arrow-fx-coroutines / arrow.fx.coroutines.stream / ResourceOps / lastOrNull
suspend fun lastOrNull():
Resource
<O?>
Compiles this stream in to a value,
returning null
if the stream emitted no values and returning the
last value emitted if values were emitted.
When this method has returned, the stream has not begun execution – this method simply compiles the stream down to the target effect type.
Do you like Arrow?
✖