Type aliases
Handler
Handler
: ($
: Context) => void | Promise<void>
Type declaration
-
-
Parameters
Returns void | Promise<void>
Tester
Tester
: (payloadJson
: string, payload
?: Payload) => boolean
Type declaration
-
- (payloadJson: string, payload?: Payload): boolean
-
Parameters
-
payloadJson: string
-
Optional payload: Payload
Returns boolean
payloadJson
the stringified JSON of the payload (as given by Callback API)payload
the JS object that was made by parsing thepayloadJson
, if the parsing was successful