Skip to main content

GmFunctionNotification

A declarative realtime notification the function emits via Buddy AFTER its transaction commits. Fenced by delivery mode (proximity / channel membership / target).

type GmFunctionNotification {
kind: String!
emitAs: String
args: [GmNotificationArg!]!
}

Fields

GmFunctionNotification.kind ● String! non-null scalar

Delivery mode: 'spatial' | 'channel' | 'actor'.

GmFunctionNotification.emitAs ● String scalar

For kind 'spatial': 'server_event' (default) | 'generic_spatial' | 'actor_update'.

GmFunctionNotification.args ● [GmNotificationArg!]! non-null object

Named argument expressions.

Member Of

GmFunction object