Client
dependency.depend([fromComputation])
Declares that the current computation (or fromComputation if given) depends on dependency. The computation will be invalidated the next time dependency changes.
If there is no current computation and depend() is called with no arguments, it does nothing and returns false.
Returns true if the computation is a new dependent of dependency rather than an existing one.
Arguments
- fromComputation Tracker.Computation
-
An optional computation declared to depend on
dependencyinstead of the current computation.
Please login to continue.