PreemptProtect

PreemptProtect[expr]

evaluates expr, without any interruption from preemptive evaluations.

Details

Examples

Basic Examples  (1)

Preemptive evaluations can be executed in the midst of a main loop evaluation:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input

Protect the main loop evaluation from being interrupted:

In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input

See Also

AbortProtect  Dynamic  Button  EventHandler  $SynchronousEvaluation  $DynamicEvaluation

Tutorials

Introduced in 2008
(7.0)