subscribes property

bool subscribes
final

Whether reads inside this context subscribe onDependencyChanged to each read registry (the classic Observer/effect behavior). A recomputing CoreComputed (engine v2) pushes a non-subscribing context: it still isolates outer contexts, counts reads and emits onTrack events, but invalidation is handled by the engine graph, so no registry listeners are registered (and none need disposal).

Se leituras dentro deste contexto inscrevem onDependencyChanged em cada registry lido (o comportamento clássico de Observer/effect). Um CoreComputed recomputando (motor v2) empilha um contexto não-inscritor: ele ainda isola contextos externos, conta leituras e emite eventos onTrack, mas a invalidação é tratada pelo grafo do motor, então nenhum listener de registry é registrado (e nenhum precisa de descarte).

Implementation

final bool subscribes;