Function: executeHandler()
Function: executeHandler()
function executeHandler(
event,
response,
snapshot,
handler?,
error?): Promise<any>;
Execute the handler.
This method will try to get data from the snapshot If the snapshot is not present, it will execute the handler. If the handler is not present, it will return undefined.
Parameters
event
IncomingBrowserEvent
response
The response object.
snapshot
handler?
IPage
<IncomingBrowserEvent
, unknown
> | IErrorPage
<IncomingBrowserEvent
, unknown
>
error?
any
Returns
Promise
<any
>
The data from the response.