Class decorator: enable the event bus with a single cloud connection, declaratively.
@EventBus({ driver: 'eventbridge' }) registers the EventBusServiceProvider, adds the
connection, and defaults emit to both local and that connection so the same code works in a
monolith and distributed. For richer setups, configure stone.eventBus via @Configuration()
(or the imperative eventBusBlueprint).
Class decorator: enable the event bus with a single cloud connection, declaratively.
@EventBus({ driver: 'eventbridge' })registers the EventBusServiceProvider, adds the connection, and defaults emit to bothlocaland that connection so the same code works in a monolith and distributed. For richer setups, configurestone.eventBusvia@Configuration()(or the imperativeeventBusBlueprint).