Delayed
✖
Delayed
Details and Options

- Delayed is typically used with CloudDeploy to create a web page whose content is updated whenever the page is requested.
- The following options can be given:
-
AllowedCloudExtraParameters None what overall parameters to allow to be specified CachePersistence 0 how long to maintain a cache of results UpdateInterval Infinity how often a browser should request an update - With the option UpdateIntervalt, Delayed specifies that a web page should be updated in the web browser every t seconds when it is displayed.
- The option AllowedCloudExtraParameters specifies what additional query parameters governing evaluation of expr should be allowed.
- Possible result formats fmt in Delayed[expr,fmt] are:
-
"fmt" any format supported by ExportForm fun an arbitrary function to be applied to expr - Delayed[expr,"fmt"] is equivalent to Delayed[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.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Delayed specifies that the expression should not be evaluated until it is requested:

https://wolfram.com/xid/0bn6lgq-eerahn

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

https://wolfram.com/xid/0bn6lgq-owv46o

Options (2)Common values & functionality for each option
CachePersistence (1)
Deploy a Delayed that gives the current time and caches its result for up to 3 seconds:

https://wolfram.com/xid/0bn6lgq-ncad6j


https://wolfram.com/xid/0bn6lgq-obvh7p

UpdateInterval (1)
Deploy a Delayed that refreshes every 3 seconds when displayed in a web browser:

https://wolfram.com/xid/0bn6lgq-4plix4

Possible Issues (1)Common pitfalls and unexpected behavior
Since the default ExportForm of Delayed[expr] is HTMLFragment, an expression evaluating to None will be returned as an empty string:

https://wolfram.com/xid/0bn6lgq-dcqx9j

In order to get the correct value in the above example, specify the format of Delayed[expr] as Wolfram Language:

https://wolfram.com/xid/0bn6lgq-yl7hoo

Wolfram Research (2014), Delayed, Wolfram Language function, https://reference.wolfram.com/language/ref/Delayed.html (updated 2014).
Text
Wolfram Research (2014), Delayed, Wolfram Language function, https://reference.wolfram.com/language/ref/Delayed.html (updated 2014).
Wolfram Research (2014), Delayed, Wolfram Language function, https://reference.wolfram.com/language/ref/Delayed.html (updated 2014).
CMS
Wolfram Language. 2014. "Delayed." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/Delayed.html.
Wolfram Language. 2014. "Delayed." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/Delayed.html.
APA
Wolfram Language. (2014). Delayed. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Delayed.html
Wolfram Language. (2014). Delayed. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Delayed.html
BibTeX
@misc{reference.wolfram_2025_delayed, author="Wolfram Research", title="{Delayed}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/Delayed.html}", note=[Accessed: 01-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_delayed, organization={Wolfram Research}, title={Delayed}, year={2014}, url={https://reference.wolfram.com/language/ref/Delayed.html}, note=[Accessed: 01-May-2025
]}