Await completion of the started Run.
Await completion of the started Run. Throws if the run failed
Close the communication channel.
Close the communication channel. Allows the VM to terminate if it is still waiting for callback. The JVM side **must** call close in order to be able to expect termination of the VM.
Calling stop on a [ComJSRunner]] automatically closes the channel.
Checks whether this async runner is still running
Checks whether this async runner is still running
Block until a message is received.
Block until a message is received. Throws a ComClosedExcpetion if the channel is closed before a message is received.
Send a message to the JS VM.
Send a message to the JS VM. Throws if the message cannot be sent.
Start the associated run and returns a Future that completes when the run terminates.
Start the associated run and returns a Future that completes when the run terminates.
Abort the associated run.
Abort the associated run. Also closes the communication channel.