Expand description
NATS messaging primitives re-exported from gestura-core-nats.
Modules§
- subjects
- Common NATS subjects used across the app
Structs§
- Nats
Health Monitor - NATS connection health monitor
Enums§
- Dispatch
Event - Dispatcher hint for event routing
Functions§
- connect_
nats - Connect to NATS server
- connect_
with_ retry - Attempt to connect to NATS with retries
- init_
jetstream - Initialize JetStream context and create KV bucket if missing
- publish_
json - Publish a JSON payload to a subject
- spawn_
nats_ server - Spawn an embedded NATS server with JetStream enabled
- subscribe
- Subscribe to a subject with message handler
- subscribe_
wildcard - Subscribe to a wildcard subject
Type Aliases§
- Connection
- NATS connection type