eu.shiftforward.adstax.scheduler
a JavaScript script that implements the body of a function that accepts a JSON value as argument in the
input
parameter
the initial JSON value that is supplied to the first execution of the script. Its default value is an empty JSON object. This field will be mutated after the script is run, with the new input value returned by executing the script.
Executes the recurrent script with the next input value, returning a JsValue.
Executes the recurrent script with the next input value, returning a JsValue.
the value that is returned from the current execution of the script.
A script to be run recurrently, reusing the return values as its inner state. In order to reuse the return value in the next iteration, a JSON object with the
nextInput
field must be returned. In that case, the value that is effectively used as the return value should be present in thereturnValue
field. The value that is returned in thenextInput
field is available on the next execution of the script in theinput
variable.