Messaging
Decouple your services with reliable, asynchronous communication.
- Event Bus — Pub/sub event bus for dispatching and listening to events with pluggable transport backends, independent of underlying technology.
Existing middlewares
Beyond the components themselves, every component provides middleware factories for composing component behavior around your own functions. Wrap a function with use() or method with enhance() and apply any of the following middlewares.
- withDispatchBeforeFactory — Dispatches an event before the wrapped function runs.
- withDispatchAfterFactory — Dispatches an event after the wrapped function resolves.
- withDispatchOnErrorFactory — Dispatches an event when the wrapped function throws.