Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / NoneSandboxHandler
Type Alias: NoneSandboxHandler<TInput, TOutput>
ts
type NoneSandboxHandler<TInput, TOutput> = (input, signal) => Promise<TOutput> | TOutput;Defined in: packages/security/src/sandbox/none.ts:34
Direct caller for code.kind === 'handler'. The handler is looked up in the supplied registry; built-in trusted tools register their handlers at startup.
Type Parameters
| Type Parameter | Default type |
|---|---|
TInput | unknown |
TOutput | unknown |
Parameters
| Parameter | Type |
|---|---|
input | TInput |
signal | AbortSignal | undefined |
Returns
Promise<TOutput> | TOutput