Litestar Events

Use Litestar's event emitter and listener system with `@listener`, `request.app.emit()`, multiple listeners per event, multi-event listeners, shared argument contracts, and custom event emitter backends. Use when decoupling async side effects, fanout-style in-process notifications, or transport-triggered domain events inside a Litestar app. Do not use for startup/shutdown lifecycle hooks, request/response interception, or broker-backed pub-sub systems that belong in app setup, lifecycle hooks, or channels.

alti3 0ba58d5 4 files · 13.6 KB Updated

File contents

alti3/litestar-skills/tree/main/plugins/litestar/skills/litestar-events commit 0ba58d5ead

Frequently asked questions

npx skillmds@latest add alti3/litestar-events