Delayed
This feature relies on access to Wolfram Cloud.

Delayed[expr]
represents an expression whose evaluation is delayed until its value is externally requested.

Delayed[expr,fmt]
specifies that the result from evaluating expr should be given in format fmt.

Delayed[expr,{fmt,rform}]
specifies that the result should be given as a response of the form rform.

Details and OptionsDetails and Options

  • Delayed is typically used with CloudDeploy to create a web page whose content is updated whenever the page is requested.
  • With the option UpdateInterval->t, Delayed specifies that a web page should be updated in the web browser every t seconds when it is displayed.
  • Possible result formats fmt in Delayed[expr,fmt] are:
  • "fmt"any format supported by ExportForm
    funan arbitrary function to be applied to expr
  • Delayed[expr,"fmt"] is equivalent to Delayed[expr,ExportForm[expr,"fmt"]].
  • Delayed is also used to control the resource copying behavior of cloud functions such as DocumentGenerator. Files and cloud objects qualified as Delayed are used in place.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Delayed specifies that the expression should not be evaluated until it is requested:

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

This link gives the current time. Revisiting the link gives the new time:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)