Adapt a Deferred into a asyncio.Future which is bound to loop.

ParametersloopThe asyncio event loop to bind the asyncio.Future to. (type: asyncio.AbstractEventLoop or similar)
deferredThe Deferred to adapt. (type: Deferred)
ReturnsA Future which will fire when the Deferred fires. (type: asyncio.Future)
Present SinceTwisted 17.5.0
Noteconverting a Deferred to an asyncio.Future consumes both its result and its errors, so this method implicitly converts self into a Deferred firing with None, regardless of what its result previously would have been.
Function createFuture Undocumented
Function checkCancel Undocumented
Function maybeFail Undocumented
Function maybeSucceed Undocumented
def createFuture(): (source)
Undocumented
def checkCancel(futureAgain): (source)
Undocumented
def maybeFail(failure): (source)
Undocumented
def maybeSucceed(result): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.