terminateAsync

fun terminateAsync(): ERROR CLASS: Symbol not found for Promise<kotlin/Double>(source)

Stop all JavaScript execution in the worker thread as soon as possible. Returns a Promise for the exit code that is fulfilled when the 'exit' event is emitted.

Since

v10.5.0