Skip to main content

Module subscriptions

Module subscriptions 

Source

Structsยง

ContinuousBuffer ๐Ÿ”’
A globally accessible cache that stores the most recent state of all subscribable topics. This buffer serves a dual purpose: it provides immediate data to newly connected subscribers upon request, and it acts as the primary data source for background workers managing continuous-mode or other subscription streams.

Staticsยง

CONTINUOUS_BUFFER ๐Ÿ”’
Thread-safe static instance of the ContinuousBuffer.

Functionsยง

add_subscription
Registers a new topic subscription for a specific client session.
on_dmx_config_update
Entry point for engine-side DMX configuration changes.
send_updates ๐Ÿ”’
Internal helper function that broadcasts a state payload to all matching client sessions.