Function: createBusContext()
Makaio Framework / bus-core / createBusContext
Function: createBusContext()
Section titled “Function: createBusContext()”createBusContext():
MakaioBusContext
Defined in: ../../../packages/bus-core/src/bus.ts:25
Creates a new bus context containing handler registries and shared state.
Used internally by createBusInstance to manage event and request handlers. Can be used to create isolated bus instances (e.g., for testing) by providing separate handler maps per instance.
Returns
Section titled “Returns”A new MakaioBusContext instance with empty handler registries