Execute JS.
Execute JS. Execution will result in a JsExecutionResult being replied to the sender.
The source file to execute.
The sequence of arguments to pass to the js source.
The amount of time to wait for the js to execute. Recommend at least 1 minute given slow CI servers in particular.
The exit value to receive if the above timeout occurs.
A mapping of environment variables to use.
The response of JS execution in the cases where it has been aggregated.
The response of JS execution in the cases where it has been aggregated. A non-zero exit value indicates failure as per the convention of stdio processes. The output and error fields are aggregated from any respective output and error streams from the process.
Get an "infinite" timeout for Akka's default scheduler.
Get an "infinite" timeout for Akka's default scheduler.
Of course, there's no such thing as an infinite timeout, so this value is the maximum timeout that the scheduler will accept, which is equal to the maximum value of an integer multiplied by the tick duration.
The configuration to read the tick duration from.