throw_if_interruption_requested method

throw_if_interruption_requested

Throws an OperationCanceledException if interruption was requested.

def throw_if_interruption_requested(self):
    ...

Exceptions

ExceptionDescription
RuntimeError(Proxy error(OperationCanceledException))Thrown when interruption was requested.

See Also