attach

fun ExecutionListener.Builder.attach(engine: PolyglotEngine): ExecutionListener

Attaches this builder to a GraalVM-backed PolyglotEngine.

Parameters

engine

A PolyglotEngine to attach this listener to.

Throws

If the provided engine is not backed by a GraalVM implementation and does not otherwise support execution listeners.