Interface: Subscriber

index.Subscriber

Core interface representing a reactive subscriber (e.g. an effect, computed signal, or framework bridge).

Table of contents

Properties

Properties

dependencies

dependencies: Set<Set<Subscriber>>

Set of upstream subscriber sets storing this subscriber, allowing dynamic dependency unbinding.


id

Optional id: string | symbol

Optional unique identifier or symbol representing this subscriber.


name

Optional name: string

Optional human-readable name for debugging and telemetry.


notify

notify: () => void

Type declaration

(): void

Callback invoked by the scheduler when one of the subscriber's tracked dependencies mutates.

Returns

void


type

Optional type: "effect" | "computed" | "adapter"

Subscriber classification category.