-
Your reClojure talk mentions catching an |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
As mentioned in #51 interruption handling is a wild west, therefore |
Beta Was this translation helpful? Give feedback.
missionary
operators have the following general semantics :missionary.Cancelled
when cancelled before terminationvia
, which delegates to the JVM thread interruption mechanism)As mentioned in #51 interruption handling is a wild west, therefore
missionary
doesn't provide a generic catch-all-interruptions mechanism, the user must figure out how top-level effects react to cancellation and usetry
/catch
accordingly. In the talk, the implementation of the task is not provided but it is assumed to be a third-party http library throwingInterruptedException
on cancellation.