caproto.trio.server.Event

Inheritance diagram of Event
class caproto.trio.server.Event[source]

The class wraps trio.Event and implements Event.clear() method that is used in the code, but deprecated in trio. The event is cleared by creating the new event that if the event is set. If the event is not set, then old event is left. The class is not intended to be thread safe.

Methods

clear()

Clearing of the event is implemented by creating a new event if the event is set.

is_set()

set()

wait([timeout])