Skip to content

Interface: WasmLimits

@kortexya/reasoninglayer


@kortexya/reasoninglayer / WasmLimits

Defined in: src/types/plugins.ts:63

Per-plugin resource clamps. Each field may only LOWER the host default.

const limits: WasmLimits = { fuel: 1_000_000, timeoutMs: 200, memoryMb: 32 };

optional fuel?: number

Defined in: src/types/plugins.ts:65

Wasmtime fuel budget per call.


optional memoryMb?: number

Defined in: src/types/plugins.ts:69

Linear-memory ceiling per call, in MiB.


optional timeoutMs?: number

Defined in: src/types/plugins.ts:67

Wall-clock deadline per call, in milliseconds.