Class decorator: enable the light key-router (route events by key, not by path).
The event-routing sibling of @Routing(): it makes the light router the kernel event handler, so
any adapter that runs the kernel routes its events, keyed by a configurable property, to the
matching handler (bus events, realtime gateways, CLI commands...). Mutually exclusive with
@Routing(). Bundlers tree-shake the full router away when only this is used.
Class decorator: enable the light key-router (route events by key, not by path).
The event-routing sibling of
@Routing(): it makes the light router the kernel event handler, so any adapter that runs the kernel routes its events, keyed by a configurable property, to the matching handler (bus events, realtime gateways, CLI commands...). Mutually exclusive with@Routing(). Bundlers tree-shake the full router away when only this is used.