Returns the captured log entries from console.* calls, plus resetLogs —
the caller must invoke it at the start of every run, because the capture
budget is scoped to one run (see buildConsole) — plus hostWork, the
queue of in-flight host promises the caller must settle before reading a
run's result (#2305, see bridge-async.ts).
Build the
bimAPI object inside the QuickJS VM.Returns the captured log entries from console.* calls, plus
resetLogs— the caller must invoke it at the start of every run, because the capture budget is scoped to one run (seebuildConsole) — plushostWork, the queue of in-flight host promises the caller must settle before reading a run's result (#2305, see bridge-async.ts).