- Preparing search index...
- The search index is not available
@fold-dev/core
Properties
listeners
listeners: {} = {}
Static
instance
instance: any
Methods
publish
- publish(eventName, payload): void
-
Parameters
-
eventName: string
-
payload: any
Returns void
subscribe
- subscribe(eventName, callback): void
-
Parameters
-
eventName: string
-
callback: any
Returns void
unsubscribe
- unsubscribe(eventName, callback): void
-
Parameters
-
eventName: string
-
callback: any
Returns void
Static
getInstance
- getInstance(): any
-
Returns any