({{, (RefLink[UpdateInterval, paclet:ref/UpdateInterval]) 
is an option to (RefLink[Refresh, paclet:ref/Refresh]) and (RefLink[Dynamic, paclet:ref/Dynamic]) that specifies at what time interval to do updates.}})

OpenersNotesSection(Spacer1)Details

(RefLink[UpdateInterval, paclet:ref/UpdateInterval])->t specifies that updating should, if possible, be done at least every t seconds.

(RefLink[UpdateInterval, paclet:ref/UpdateInterval])->(RefLink[Infinity, paclet:ref/Infinity]) specifies that updating should never be done.

(RefLink[UpdateInterval, paclet:ref/UpdateInterval])->0 specifies that updating should be done as fast as possible.

OpenersPrimaryExamplesSection(Spacer1)Examples  (4)

OpenersExampleSection0(Spacer1)Basic Examples  (3)

Force (RefLink[DateString, paclet:ref/DateString]) to dynamically update every second:

Dynamic[Refresh[DateString[],UpdateInterval->1]]

Use (RefLink[UpdateInterval, paclet:ref/UpdateInterval]) directly in (RefLink[Dynamic, paclet:ref/Dynamic]):

Dynamic[DateString[],UpdateInterval->1]

Force an update to be done as fast as possible:

ProgressIndicator[Dynamic[x,UpdateInterval->0]]

x=0;While[x<1,x=x+(10^(-6))]

OpenersExampleSection2(Spacer1)Possible Issues  (1)

Updates may happen more frequently than specified by (RefLink[UpdateInterval, paclet:ref/UpdateInterval]):

DynamicModule[{x},Dynamic[x++,UpdateInterval->1],Initialization:>(x=0)]

You can lock the refreshes to (RefLink[UpdateInterval, paclet:ref/UpdateInterval]) by also specifying (RefLink[TrackedSymbols, paclet:ref/TrackedSymbols]):

DynamicModule[{x},Dynamic[x++,TrackedSymbols->{},UpdateInterval->1],Initialization:>(x=0)]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Refresh, paclet:ref/Refresh])  ▪  (RefLink[RefreshRate, paclet:ref/RefreshRate])  ▪  (RefLink[TrackedSymbols, paclet:ref/TrackedSymbols])  ▪  (RefLink[Clock, paclet:ref/Clock])  ▪  (RefLink[Dynamic, paclet:ref/Dynamic])  ▪  (RefLink[Delayed, paclet:ref/Delayed])  ▪  (RefLink[CachePersistence, paclet:ref/CachePersistence])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Tuning & Debugging, paclet:guide/TuningAndDebugging])}})}})