Skip to content

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

ParameterType
optsBridgedSourceOptions

Returns

Promise&lt;BridgedSourceResult&gt;

Stable