Whether the error stream of the VM should be inherited.
Whether the error stream of the VM should be inherited.
The implementation may chose to redirect to the actual error stream of the
parent JVM or simply scala.Console#err.
If you set this value to false
you must set onOutputStream.
Whether the output stream of the VM should be inherited.
Whether the output stream of the VM should be inherited.
The implementation may chose to redirect to the actual output stream of
the parent JVM or simply scala.Console#out.
If you set this value to false
you must set onOutputStream.
The logger to use in the run.
The logger to use in the run. A JSEnv is not required to log anything.
Callback once output streams of the JS VM run become available.
Callback once output streams of the JS VM run become available.
The callback receives the output and the error stream of the VM if they
are available. If inheritOutput or inheritError are set to true, the
respective streams must be None
, in the invocation of
onOutputStream. Note however, that if onOutputStream is present,
it must be invoked by the JS VM.
Configuration provided when starting a JSEnv.