Skip to content

Type Alias: D3PServiceKey<T> ​

ts
type D3PServiceKey<T> = symbol & object;

Defined in: core/services.ts:9

Typed key of a service registered on a chart (or any registry). Replaces the request/response-by-callback protocol, which cannot work on an asynchronous bus: providers register themselves, consumers get synchronously and watch for changes. Anyone can mint new keys, so the base library stays extensible.

Type Parameters ​

T ​

T

Type Declaration ​

__service? ​

ts
readonly __service?: T;