PayloadEvent
[ Interface ]
export interface PayloadEvent<T = any> extends EventBase {
type: Type.Payload;
payload?: T;
}
This interface extends EventBase.
Properties
Name | Type | Description |
---|---|---|
Type | Type.Payload | Ensures that instances of this interface have always set the type Payload. |
payload | T | Value that was transferred as payload. |
Available from version 1.12 |