Cancellation for host work this call starts (#2419), aborted when the run
stops waiting (timeoutMs) and when the sandbox is disposed. An async
call: that can take real time must forward it so its work stops with the run.
Optional because the bridge supplies it, not the caller: buildBridge gets
the session-scoped half and buildNamespace adds the signal per call, so a
call: invoked directly by a unit test can pass a context without one.
Cancellation for host work this call starts (#2419), aborted when the run stops waiting (
timeoutMs) and when the sandbox is disposed. An asynccall:that can take real time must forward it so its work stops with the run.Optional because the bridge supplies it, not the caller:
buildBridgegets the session-scoped half andbuildNamespaceadds the signal per call, so acall:invoked directly by a unit test can pass a context without one.