Expand description
The NATS connection handle (NatsClient) and its shared alias
(SharedNatsClient).
Re-exports§
pub use request::NatsRequestBody;
Modules§
- maintenance 🔒
- Contains logic related to the maintenance mode.
- request 🔒
- Helps to send data via a request and reply pattern to other services.
- room
- Handles room related NATS operations
- sync 🔒
- Notifier mechanism to signal something has changed in the system. Mainly used to notify listeners that changes to a room occurred.
Structs§
- Nats
Client - Live handle to a NATS client including a JetStream connection.
Functions§
- event_
subjects - The full set of subjects an event occupies: its
Event::SUBJECTplus anyEvent::COMPATIBLE_SUBJECTS. - stream_
name - Derives a JetStream stream name from a (possibly wildcard) subject pattern.
Type Aliases§
- Shared
Nats Client - A connection to NATS and JetStream.