LiveState.Event (live_state v0.7.0)
Link to this section Summary
Link to this section Types
Represents a CustomEvent to be returned from a reply and dispatched on the client.
- name: becomes the name of the CustomEvent to be dispatched
- detail: becomes the detail property (payload) of the CustomEvent. Not that because
events will be serialized as JSON, everything here must implement