getActiveSub function

ReactiveNode? getActiveSub()

Gets the currently active subscriber node.

The active subscriber is the node currently being computed, which will be linked as a dependency to any signals accessed.

Returns the active subscriber or null if none is active.

Implementation

@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
@pragma('wasm:prefer-inline')
ReactiveNode? getActiveSub() => activeSub;