interceptContinuation
Returns a continuation that wraps the provided continuation, thus intercepting all resumptions.
This method should generally be exception-safe. An exception thrown from this method may leave the coroutines that use this dispatcher in the inconsistent and hard to debug state.