Skip to main content

Refresh

Wolfram Kernel
Execution environment
JerryI`Notebook`ManipulateUtils`
Context
warning

Implementation differs from Mathematica

Refresh[expr_, interval_]

produces a dynamic window with expr reevaluated each interval of time specified in seconds or in Quantity provided in interval

Refresh[expr_, trigger_EventObject | trigger_String]

produces a dynamic window with expr reevaluated by trigger event (see Events).

Referesh has HoldFirst attribute.

Example

Refresh[Now // TextString, 1]

or even for decorated symbols

Refresh[Now, 1]
caution

Do not put Plot or any other functions inside with a fast refresh rate (< 1 second). In general the reevaluation cause a large overhead to the system with graphics.

Consider to use Offload for rapidly changing data (see more in Dynamics and Advanced animation or PlotlyExtendTraces).