CloudFunction
CloudFunction[fun]
represents a pure function that evaluates fun[args] in the cloud.
represents a function that applies the contents of the specified cloud object.
CloudFunction[f,h]
wraps the head h around the result of the function before returning it.
Details and Options
- CloudFunction[fun][args] evaluates args locally, then evaluates fun[args] in the cloud and returns the result.
- CloudFunction[CloudObject[…]][args] works only if the content of the CloudObject is a Wolfram Language expression.
- CloudFunction has the following option:
-
CloudBase $CloudBase what cloud to do the evaluation in IncludeDefinitions True whether to automatically include dependencies - With IncludeDefinitions->True, definitions required for the evaluation of fun will automatically be sent to the cloud through CloudFunction.
- With IncludeDefinitions->False, definitions required for the evaluation of fun must be loaded and evaluated explicitly by fun itself.
Examples
open allclose allGeneralizations & Extensions (1)
Properties & Relations (1)
In a cloud evaluation, $CloudEvaluation is set to True:
Text
Wolfram Research (2014), CloudFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/CloudFunction.html (updated 2019).
CMS
Wolfram Language. 2014. "CloudFunction." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/CloudFunction.html.
APA
Wolfram Language. (2014). CloudFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CloudFunction.html