interruptible

open fun interruptible(onInterruption: Action): Interruptible
open fun interruptible(onInterruption: InstantFunction): Interruptible
open fun interruptible(onInterruption: () -> Action): Interruptible

Returns an interruptible copy of this action, with onInterruption occurring on interrupt.