prepare

open suspend fun prepare()(source)

Gets the script engine ready. A viewer calls it once, before any other call: an engine that compiles itself on the web does so here, as a browser compiles only asynchronously. Until it returns, a call that needs the engine runs no script.