if I create a `Channel` in a coroutine, and I want...
# coroutines
b
if I create a
Channel
in a coroutine, and I want that channel closed when the coroutine is canceled, is the only way to catch the
CancellationException
?
l
There's a syntax error in your sentence I guess
b
What do you mean?
l
In the end: "the only way..." what is the only way?
b
the only way to close the Channel when the coroutine is canceled