Interface: ExecutionContext
Provides contextual information for a controller event invocation. An instance of this interface is available to guards, interceptors, and can be injected into handler methods as needed.
Properties
args
readonlyargs:unknown[]
The raw arguments array received from the platform driver for this event.
eventName
readonlyeventName:string
The name or identifier of the event being handled.
payload
readonlypayload:unknown
A convenient reference to the main payload of the event
(typically the first element of args).
player?
readonlyoptionalplayer:unknown
The player object associated with the event, if one is present in the platform event context.