Merge latest PR #1527 into 2.0.0-beta.2

This commit is contained in:
Levi committed 2026-09-18 09:43:51 +08:00
commit dae13dec01
30 files changed
+1444 -194

No files matched your search

+5
View File
@@ -289,3 +289,8 @@ func callExportedFunction(fn func(goja.FunctionCall) goja.Value, args ...goja.Va
Arguments: args,
}), nil
}
// Post queues a notification without waiting for its callback or returned promise.
func (e *Engine) Post(fn func(*goja.Runtime)) bool {
return e.loop.RunOnLoop(fn)
}