ScopeDigestTTL class
Allows the configuration of Scope.$digest iteration maximum time-to-live value. Digest keeps checking the state of the watcher getters until it can execute one full iteration with no watchers triggering. TTL is used to prevent an infinite loop where watch A triggers watch B which in turn triggers watch A. If the system does not stabilize in TTL iteration then an digest is stop an an exception is thrown.
class ScopeDigestTTL { final num ttl; ScopeDigestTTL(): ttl = 5; ScopeDigestTTL.value(num this.ttl); }
Constructors
new ScopeDigestTTL() #
new ScopeDigestTTL.value(num ttl) #
ScopeDigestTTL.value(num this.ttl);
Properties
final num ttl #
final num ttl