Runtime (dw::Runtime)
This module contains functions for interacting with the DataWeave runtime, which executes the language.
To use this module, you must import it to your DataWeave code, for example,
by adding the line import * from dw::Runtime
to the header of your
DataWeave script.
Functions
Name | Description |
---|---|
Returns an array of all Experimental: This function is an experimental feature that is subject to change or removal from future versions. |
|
Evaluates a script with the specified context and returns the result of that evaluation. Experimental: This function is an experimental feature that is subject to change or removal from future versions. |
|
Evaluates the script at the specified URL. Experimental: This function is an experimental feature that is subject to change or removal from future versions. |
|
Throws an exception with the specified message. |
|
Produces an error with the specified message if the expression in
the evaluator returns |
|
Returns the Experimental: This function is an experimental feature that is subject to change or removal from future versions. |
|
Returns the location of a given value, or |
|
Returns the location string of a given value. |
|
Returns the result of the |
|
Function to use with |
|
Returns the value of the property with the specified name or |
|
Returns all the properties configured for the DataWeave runtime, which executes the language. |
|
Runs the input script under the provided context and executes the script in the current runtime. Experimental: This function is an experimental feature that is subject to change or removal from future versions. |
|
Runs the script at the specified URL. Experimental: This function is an experimental feature that is subject to change or removal from future versions. |
|
Evaluates the delegate function and returns an object with |
|
Returns the DataWeave version that is currently running. |
|
Stops the execution for the specified timeout period (in milliseconds). |