Delayed

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 Options

Examples

open allclose all

Basic Examples  (1)

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

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

Options  (2)

CachePersistence  (1)

Deploy a Delayed that gives the current time and caches its result for up to 3 seconds:

UpdateInterval  (1)

Deploy a Delayed that refreshes every 3 seconds when displayed in a web browser:

Introduced in 2014
 (10.0)
 |
Updated in 2014
 (10.0.2)