Skip to main content

playerComputeInvoke

Synchronously invoke a server player-module export as the current grid owner. Requires the module to be enabled, compiled, admitted, and covered by run_server_code at app and grid scope. The runtime payload carries callerUserId/gridId; author identity never participates.

playerComputeInvoke(
appId: BigInt!
gridId: BigInt!
moduleName: String!
exportName: String!
paramsJson: String
): PlayerComputeInvokeResult!

Arguments

playerComputeInvoke.appId ● BigInt! non-null scalar

App containing the owned grid.

playerComputeInvoke.gridId ● BigInt! non-null scalar

Owned grid containing the module.

playerComputeInvoke.moduleName ● String! non-null scalar

Module name within the grid.

playerComputeInvoke.exportName ● String! non-null scalar

Guest router export name.

playerComputeInvoke.paramsJson ● String scalar

Optional JSON object passed to the export.

Type

PlayerComputeInvokeResult object

Synchronous result from invoking an admitted server player-module export as the current grid owner.