`never` has several of these interesting use-cases...
# arrow
s
never
has several of these interesting use-cases. Perhaps we should document them somewhere 🤔 For example,
Schedule.never
is build on top of
IO. never
, and can be used in a similar way as we do here with
IO.never
. Same goes for
Stream.never
etc. It's also useful to wait for cancellation:
onCancel({ never<Unit>() }) { println("Execute on cancel") }
.
👍🏾 1