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
readonly
args:unknown
[]
The raw arguments array received from the platform driver for this event.
eventName
readonly
eventName:string
The name or identifier of the event being handled.
payload
readonly
payload:unknown
A convenient reference to the main payload of the event
(typically the first element of args
).
player?
readonly
optional
player:unknown
The player object associated with the event, if one is present in the platform event context.