class documentation
An AsyncDriver
is an interface to a library that supports awaitables (such as the standard library asyncio
), to allow fritter.repeat.Async
to return an awaitable of a library-appropriate type.
Method | complete |
The asynchronous operation described by a previous call to this AsyncDriver 's newWithCancel method completed successfully; un-suspend any coroutine awaiting it. |
Method | new |
Create a new future-ish object with the given callback to execute when it is cancelled. |
Method | run |
Run the given coroutine which awaits upon AsyncType . |
The asynchronous operation described by a previous call to this AsyncDriver
's newWithCancel
method completed successfully; un-suspend any coroutine awaiting it.