hi, I want to create bi-directional channel that s...
# coroutines
j
hi, I want to create bi-directional channel that supports request-response pattern. seems to work fine but in case when ask() call is cancelled before handler responds I want it to cancel current processing. I tried to throw an exception to cancel
handler
call (as shown) but I cannot catch it. does anybody know what I'm doing wrong?