Returns a function that can emit an event of the given type.
Parameters:
Name | Type | Description |
---|---|---|
type |
string | The type of event to emit. |
- Source:
Name | Type | Description |
---|---|---|
type |
string | The type of event to emit. |