Interface: EventInterface<P, R>
The interface that defines Event key and payload signatures.
Extends
EventKeyInterface
.EventExpectsReturnOfInterface
<R
>
Extended by
Type Parameters
Type Parameter | Default type |
---|---|
P | undefined |
R | P |
Properties
Property | Type | Description | Inherited from |
---|---|---|---|
expectsReturnOf | R | - | EventExpectsReturnOfInterface.expectsReturnOf |
key | string | Event key. | EventKeyInterface.key |
payload | P | Return the payload that should be emitted. | - |