Events
Check the usage in the Getting Started chapter here.
- class Events[source]
Common Events class. Event-related methods and properties. Here you can set all the event handlers. Access snippet:
events = RsRtx.events- property before_query_handler: Callable
Returns the handler of before_query events.
- Returns:
current
before_query_handler
- property before_write_handler: Callable
Returns the handler of before_write events.
- Returns:
current
before_write_handler
- property io_events_include_data: bool
Returns the current state of the io_events_include_data See the setter for more details.
- property on_read_handler: Callable
Returns the handler of on_read events.
- Returns:
current
on_read_handler
- property on_write_handler: Callable
Returns the handler of on_write events.
- Returns:
current
on_write_handler
- sync_from(source: Events) None[source]
Synchronizes these Events with the source.