setJsCode

Sets the JavaScript code to be executed by the transformer to modify the dispatch payload.

Parameters

jsCode

The JavaScript code as a string. This code should be designed to manipulate the payload.