Interface: WasmLimits
@kortexya/reasoninglayer / WasmLimits
Interface: WasmLimits
Section titled “Interface: WasmLimits”Defined in: src/types/plugins.ts:63
Per-plugin resource clamps. Each field may only LOWER the host default.
Example
Section titled “Example”const limits: WasmLimits = { fuel: 1_000_000, timeoutMs: 200, memoryMb: 32 };Properties
Section titled “Properties”
optionalfuel?:number
Defined in: src/types/plugins.ts:65
Wasmtime fuel budget per call.
memoryMb?
Section titled “memoryMb?”
optionalmemoryMb?:number
Defined in: src/types/plugins.ts:69
Linear-memory ceiling per call, in MiB.
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?:number
Defined in: src/types/plugins.ts:67
Wall-clock deadline per call, in milliseconds.