Skip to content

@sebastianwessel/quickjs v3.1.0


@sebastianwessel/quickjs / AsyncSandboxFunction

Type Alias: AsyncSandboxFunction<T> ​

AsyncSandboxFunction<T> = (sandbox) => Promise<T>

Defined in: types/SandboxFunction.ts:13

Type Parameters ​

T ​

T = any

Parameters ​

sandbox ​

ctx ​

QuickJSAsyncContext

evalCode ​

SandboxEvalCode

mountedFs ​

IFs

validateCode ​

SandboxValidateCode

Returns ​

Promise<T>

Updated at: