Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/security / / runBridgedSource
Function: runBridgedSource()
ts
function runBridgedSource(opts): Promise<BridgedSourceResult>;Defined in: packages/security/src/sandbox/bridged-source.ts:237
Run model-written source in a worker, bridging tools.<name>(args) calls back to the host. See the module docstring for the isolation contract.
Parameters
| Parameter | Type |
|---|---|
opts | BridgedSourceOptions |
Returns
Promise<BridgedSourceResult>