Package io.reactiverse.es4x
Class ECMAEngine
- java.lang.Object
-
- io.reactiverse.es4x.ECMAEngine
-
public final class ECMAEngine extends Object
-
-
Constructor Summary
Constructors Constructor Description ECMAEngine(io.vertx.core.Vertx vertx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()RuntimenewContext(org.graalvm.polyglot.io.FileSystem fileSystem, org.graalvm.polyglot.Source... scripts)return a new context for this engine.
-
-
-
Method Detail
-
newContext
public Runtime newContext(org.graalvm.polyglot.io.FileSystem fileSystem, org.graalvm.polyglot.Source... scripts)
return a new context for this engine.- Parameters:
scripts- scripts that shall be run at the creation of the runtime, usually for polyfills, initialization, customization.- Returns:
- new context.
-
close
public void close()
-
-