- Preparing search index...
- The search index is not available
Moirae
Properties
Private
Readonly
_distributor
Private
Readonly
_explorer
Private
Readonly
_handlerMap
Private
Readonly
_observableFactory
Private
Readonly
_sagaManager
Private
Readonly
commandBus
Private
Readonly
eventSource
Methods
Protected
executeLocal
- executeLocal(event: IEvent<unknown>): Promise<void>
-
Returns Promise<void>
listen
- listen(handlerFn: ((event: IEvent<unknown>) => void)): string
-
Parameters
-
handlerFn: ((event: IEvent<unknown>) => void)
-
- (event: IEvent<unknown>): void
-
Returns void
Returns string
listenLocal
- listenLocal(handlerFn: ((event: IEvent<unknown>) => void)): string
-
Parameters
-
handlerFn: ((event: IEvent<unknown>) => void)
-
- (event: IEvent<unknown>): void
-
Returns void
Returns string
onApplicationBootstrap
- onApplicationBootstrap(): void
-
Returns void
publish
- publish(event: IEvent<unknown>): Promise<void>
-
Returns Promise<void>
removeListener
- removeListener(subId: string): void
-
Returns void
removeLocalListener
- removeLocalListener(subId: string): void
-
Returns void
Provide handling for an event based system