moved folders around
This commit is contained in:
parent
4f89affc2b
commit
36cb84b343
202 changed files with 1160 additions and 660 deletions
16
libs/services/event-bus/src/index.ts
Normal file
16
libs/services/event-bus/src/index.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { EventBus } from './event-bus';
|
||||
import type { EventBusConfig } from './types';
|
||||
|
||||
/**
|
||||
* Create a new event bus instance
|
||||
*/
|
||||
export function createEventBus(config: EventBusConfig): EventBus {
|
||||
return new EventBus(config);
|
||||
}
|
||||
|
||||
// Re-export everything
|
||||
export { EventBus } from './event-bus';
|
||||
export * from './types';
|
||||
|
||||
// Default export
|
||||
export default createEventBus;
|
||||
Loading…
Add table
Add a link
Reference in a new issue