Skip to content

Type Alias: D3PEvent<P> ​

ts
type D3PEvent<P> = symbol & object;

Defined in: core/bus.ts:8

Typed symbol events and the asynchronous event bus.

An event is a unique Symbol carrying a phantom payload type. Two objects can only talk if they own the same symbol, which gives per-owner isolation without magic strings.

Type Parameters ​

P ​

P = void

Type Declaration ​

__payload? ​

ts
readonly __payload?: P;