class documentation

class TwistedAsyncDriver: (source)

View In Hierarchy

Driver for Deferred-flavored awaitables.

Method complete The asynchronous operation completed successfully.
Method newWithCancel Create a new future-ish object with the given callback to execute when cancelled.
Method runAsync Undocumented
def complete(self, asyncObj: Deferred[None]): (source)

The asynchronous operation completed successfully.

def newWithCancel(self, cancel: Callable[[], None]) -> Deferred[None]: (source)

Create a new future-ish object with the given callback to execute when cancelled.

def runAsync(self, coroutine: Coroutine[Deferred[None], Any, Any]) -> Deferred[None]: (source)

Undocumented