This commit is contained in:
Horis committed 2024-01-28 17:09:25 +08:00
1 parent 5a32bfd414
commit cc9fbf4f8d
22 files changed
+350 -160

No files matched your search

@@ -14,6 +14,12 @@ interface ScriptEngine {
@Throws(ScriptException::class)
fun eval(reader: Reader, scope: Scriptable): Any?
@Throws(ScriptException::class)
suspend fun evalSuspend(reader: Reader, scope: Scriptable): Any?
@Throws(ScriptException::class)
suspend fun evalSuspend(script: String, scope: Scriptable): Any?
@Throws(ScriptException::class)
fun eval(script: String, scope: Scriptable): Any?