Build the bim API object inside the QuickJS VM.
bim
Call resetLogs at the start of every run to reset logs, surfaces and their budgets. Settle hostWork before reading the logs and taking the surfaces (#2305, see bridge-async.ts).
resetLogs
hostWork
Optional
Build the
bimAPI object inside the QuickJS VM.Call
resetLogsat the start of every run to reset logs, surfaces and their budgets. SettlehostWorkbefore reading the logs and taking the surfaces (#2305, see bridge-async.ts).