Skip to main content

computeUpsertModule

Create or update a WASM compute module (metadata only). Modules hold developer-authored Rust compiled to sandboxed WASM on game-api instances; upload source with computeDeployVersion. New modules start disabled. Upsert key is (app, name). Requires the org 'manage_compute' permission.

computeUpsertModule(
input: UpsertComputeModuleInput!
): WasmModule!

Arguments

computeUpsertModule.input ● UpsertComputeModuleInput! non-null input

The app, module name (upsert key), and metadata.

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.