Documents / @faasjs/browser / MockHandler
Type Alias: MockHandler()
MockHandler: (
action
,params
,options
) =>Promise
<Response
<any
> |ResponseProps
> |Promise
<void
>
Parameters
• action: string
• params: Record
<string
, any
>
• options: Options
Returns
Promise
<Response
<any
> | ResponseProps
> | Promise
<void
>