Creates a future that resolves when the active transition context is interrupted.
This is a cooperative mechanism for long-running transition callbacks. The returned future resolves to true when [method@Dex.StateMachine.interrupt] is called while this is active. If the context was already interrupted before this function is called, the returned future is already resolved.
If this completes before it is interrupted, the returned future is rejected with g_io_error_cancelled.
| this |
a [struct@Dex.StateTransitionContext] |
|
a future resolving to true when interrupted |