locks

Module Contents

Classes

EventResultOrError(self,loop) This class wrappers the Event asyncio lock allowing either awake the
class EventResultOrError(loop)

This class wrappers the Event asyncio lock allowing either awake the locked Tasks without any error or raising an exception.

thanks to @vorpalsmith for the simple design.

__init__(loop)
set(exc=None)
wait()
cancel()

Cancel all waiters