I have an API which manages IO with a Selector, an...
# coroutines
d
I have an API which manages IO with a Selector, and has a list of interested
CancellableContinuation
instances. If the Selector is closed, would it be better to use
.resumeWith(Result.failure(ClosedException()))
, or
.cancel(ClosedException())
, or something else entirely?