Interface: EventAsyncInterface<P, R>
The interface that all async events must adhere to
Extends
EventInterface<P,Promise<R>>
Type Parameters
| Type Parameter | Default type |
|---|---|
P | undefined |
R | P |
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
expectsReturnOf | Promise<R> | - | EventInterface.expectsReturnOf |
key | string | Event key. | EventInterface.key |
payload | P | Return the payload that should be emitted. | EventInterface.payload |