litestar-events

Installation
SKILL.md

Events

Execution Workflow

  1. Decide whether the event bus is the right tool: decoupled in-process side effects, not app lifecycle or broker-backed messaging.
  2. Define stable event IDs and argument contracts before wiring emitters and listeners.
  3. Register listeners on the Litestar app with listeners=[...].
  4. Emit events from handlers or services through request.app.emit(...) or another app reference.
  5. Keep listeners independent so multiple listeners can react to the same event safely.
  6. Replace the default emitter backend only when retry, persistence, or external infrastructure requirements justify it.

Core Rules

Installs
30
GitHub Stars
7
First Seen
Mar 2, 2026
litestar-events — alti3/litestar-skills