- class caproto.trio.server.Event¶
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.
Clearing of the event is implemented by creating a new event if the event is set.