Documents / @faasjs/cloud_function / CloudFunctionAdapter
Type Alias: CloudFunctionAdapter
CloudFunctionAdapter:
object
Type declaration
invokeCloudFunction()
invokeCloudFunction: (
name
,data
,options
?) =>Promise
<void
>
Parameters
• name: string
• data: any
• options?: any
Returns
Promise
<void
>
invokeSyncCloudFunction()
invokeSyncCloudFunction: <
TResult
>(name
,data
,options
?) =>Promise
<TResult
>
Type Parameters
• TResult
Parameters
• name: string
• data: any
• options?: any
Returns
Promise
<TResult
>