FunctionsuseCustomFunctionuseCustomFunction CallableuseCustomFunction<A, T>(key: string): (...args: A) => Promise<T>Returns the customFunctionType parametersA: any[]TParameterskey: stringfunctionNameReturns (...args: A) => Promise<T>(...args: A): Promise<T>Parametersrest...args: AReturns Promise<T>
Returns the customFunction