Skip to content

Commit

Permalink
EXCEPTION
Browse files Browse the repository at this point in the history
  • Loading branch information
MukjepScarlet committed Feb 24, 2025
1 parent 8a9d1e9 commit d6f36e1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class ScriptAsyncUtil(
*/
@ScriptApiRequired
fun until(condition: BooleanSupplier): Value = jsPromiseConstructor.newInstance(
ProxyExecutable { (onResolve, onReject) ->
ProxyExecutable { (onResolve, onReject) ->
var waitingTick = 0
schedule {
waitingTick++
Expand All @@ -96,6 +96,8 @@ class ScriptAsyncUtil(
true
}
}

null
}
)

Expand Down

0 comments on commit d6f36e1

Please sign in to comment.