elizarov
03/15/2017, 2:29 PMasync
here. If any kind of exception happens inside the block()
the async
is going to store it in the Deferred<Unit>
result, but you don't seem to be using it in any way. You only need to cancel it. The launch
builder is much better suited for your case.