- Preparing search index...
- The search index is not available
Moirae
Methods
publish
- publish(event: IEvent<unknown>): Promise<void>
-
Returns Promise<void>
subscribe
- subscribe(handler: ((event: IEvent<unknown>) => void)): string
-
Parameters
-
handler: ((event: IEvent<unknown>) => void)
-
- (event: IEvent<unknown>): void
-
Returns void
Returns string
unsubscribe
- unsubscribe(key: string): void
-
Returns void
Pub-sub engine to distribute events across the system after processing on a single node.