Function publishEvent
publishEvent(event: string | AppEvent): Promise<void>
Publish a new event to track a user action.
Parameters
Name | Type | Description |
---|---|---|
event | string | AppEvent | The event that needs to be published. Should be an AppEvent or a string denoting the name of the event to publish. |
Returns
Promise<void>