Factory method for an Interruptor defined in terms of a function from a function of
type Thread to Unit.
Factory method for an Interruptor defined in terms of a function from a function of
type Thread to Unit.
When this apply method is invoked, it will invoke the passed function's apply
method, forwarding along the passed Thread.
the function representing the interruption strategy
Implicit Interruptor value defining a default interruption strategy for the failAfter and cancelAfter method.
Implicit Interruptor value defining a default interruption strategy for the failAfter and cancelAfter method.
Companion object that provides a factory method for an
Interruptordefined in terms of a function from a function of typeThreadto Unit.