playerComputeSetEnabled
Enable or disable a player module. Enabling requires current grid ownership, the target's run permission, a successful compile, and admission when the app uses strict ALLOW_LIST mode. Write permission is not sufficient to run code.
playerComputeSetEnabled(
appId: BigInt!
gridId: BigInt!
name: String!
enabled: Boolean!
): PlayerWasmModule!
Arguments
playerComputeSetEnabled.appId ● BigInt! non-null scalar
App containing the module.
playerComputeSetEnabled.gridId ● BigInt! non-null scalar
Owned grid containing the module.
playerComputeSetEnabled.name ● String! non-null scalar
Module name within the grid.
playerComputeSetEnabled.enabled ● Boolean! non-null scalar
True to request activation; false to stop execution.
Type
PlayerWasmModule object
A grid-bound player compute module. Runtime identity is never stored here; it resolves from the grid current owner at activation.