An AsyncJSEnv that provides communication to and from the JS VM.
Trait representing a JS console
A RetryingComJSEnv allows to automatically retry if a call to the underlying ComJSRunner fails.
A RetryingComJSEnv allows to automatically retry if a call to the underlying ComJSRunner fails.
While it protects the JVM side from observing state that differs inbetween runs that have been retried, it assumes that the executed JavaScript code does not have side-effects other than the ones visible through the channel (e.g. writing to a file). It is the users responsibility to ensure this property.
No retrying is performed for synchronous, or normal asynchronous runs.
A helper class to temporarily store virtual files to the filesystem.
A helper class to temporarily store virtual files to the filesystem.
Can be used with tools that require real files.
A JS console that prints on the console
An AsyncJSEnv that provides communication to and from the JS VM.
Inside the VM there is a global JavaScript object named
scalajsCom
that can be used to control the message channel. It's operations are: