litestar-channels
Installation
SKILL.md
Channels
Execution Workflow
- Choose the backend and durability model first: in-memory, Redis Pub/Sub, Redis Streams, or Postgres-backed variants.
- Define channel names or intentionally allow arbitrary channels.
- Publish events from domain boundaries through the injected
channelsplugin. - Manage subscriber lifecycle explicitly with
start_subscription(),subscribe(),unsubscribe(), and cleanup. - Decide whether history and backpressure need configuration before traffic arrives.
- Integrate with websocket handlers directly or generate websocket route handlers through the plugin.