Appearance
Interface: EventType<T>
A typed event channel: event<{ a: Entity; b: Entity }>().
Type Parameters
| Type Parameter | Default type |
|---|---|
T | void |
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
[$event] | readonly | true | - |
__payload? | readonly | T | Phantom field carrying the payload type. |
name | readonly | string | - |
Methods
named()
ts
named(name): this;Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
this