computeSetModuleEnabled
Enable or disable a compute module. Enabling requires a deployed version and resets the module's circuit breaker; disabling stops all scheduling. Requires the org 'manage_compute' permission.
computeSetModuleEnabled(
appId: BigInt!
name: String!
enabled: Boolean!
): WasmModule!
Arguments
computeSetModuleEnabled.appId ● BigInt! non-null scalar
The app (tenant) that owns the module.
computeSetModuleEnabled.name ● String! non-null scalar
The module name.
computeSetModuleEnabled.enabled ● Boolean! non-null scalar
True to enable (and reset the circuit); false to stop.
Type
WasmModule object
A WASM compute module: developer-authored Rust compiled to sandboxed WASM on game-api instances. Holds metadata, the deployed version pointer, and circuit-breaker state; source lives in versions.