优化
This commit is contained in:
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?
|
||||
|
||||
|
||||
Reference in new issue
Block a user