Go to the latest version of this document.

# ``twisted`.`internet`.`defer`.`_CancellationStatus``

class documentation

`class _CancellationStatus(Generic[_SelfResultT]): (source)`

View In Hierarchy

Cancellation status of an `inlineCallbacks` invocation.

Instance Variable | `deferred` | the `Deferred` to callback or errback when the generator invocation has finished.
Instance Variable | `waitingOn` | the `Deferred` being waited upon (which `_inlineCallbacks` must fill out before returning)

deferred: `Deferred[_SelfResultT]` = (source)

the `Deferred` to callback or errback when the generator invocation has finished.

waitingOn: `Deferred[_SelfResultT] | None` = (source)

the `Deferred` being waited upon (which `_inlineCallbacks` must fill out before returning)