state<T> method

BloomState<T> state<T>(
  1. Bloom<T> bloom
)

Registers bloom as an active dependency in the current evaluation epoch and returns its 3-phase BloomState container without short-circuiting.

  • bloom: The reactive node to observe within this evaluation epoch.

Implementation

@pragma('vm:prefer-inline')
BloomState<T> state<T>(Bloom<T> bloom) {
  _node._trackDependency(this, bloom);
  return bloom as BloomState<T>;
}