TC.setParam
Saves a string to a parameter, creating a temporary parameter value in the memory (if it does not already exist).
It does not create a parameter that can be read in the next run.
TC.setParam(name, value);
Arguments
Name | Description |
---|---|
name | (string) Name of the parameter in which to save the value. |
value | (string) Value of the parameter. Note: Only alphanumeric characters and the underscore character ("_") are supported. |
Return value
A promise that is fulfilled with undefined upon success.
Example
(async ()=>{
await TC.setParam("myparam", "paramVal");
})();