PyDocs

Nav

Networking and Interprocess Communication

Future.set_exception

asyncio

method of Futurenot WASI
  • Future.set_exception(exception)
Mark the future done and set an exception.

If the future is already done when this method is called, raises
InvalidStateError.
0 Examples
No examples for asyncio/Future.set_exception.
See Also
No see-alsos for asyncio/Future.set_exception
0 Notes
No notes for Future.set_exception