hololinked.core.events.EventDispatcher
The worker that pushes an event. The separation is necessary between Event and
EventDispatcher to allow class level definitions of the Event
Source code in hololinked/hololinked/core/events.py
Functions
push
publish the event. Multipart payloads are not supported. Supply either a serializable object or a bytes object for binary data, not both.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
Any
|
payload of the event |
required |
Source code in hololinked/hololinked/core/events.py
receive_acknowledgement
Not Implemented.
Receive acknowledgement for an event that was just pushed.