An event type. This is a tuple of event receiver parameter types.
Readonly
supplyEvent supply to this receiver.
Events will be supplied to this receiver until this supply is Supply.off cut off.
Receives an event.
This method does not require a this
context. So it is possible to deconstruct the event receiver like this:
const { supply, receive } = eventReceiver(receiver);
An event processing context.
Rest
...event: TEventAn event represented as the rest of arguments.
Generated using TypeDoc
The most generic event receiver form.
Any event receiver may be converted to generic form by eventReceiver function.
In contrast to Object this one always has a supply.