UNPKG

@n8n/n8n-nodes-langchain

Version:

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

3 lines (2 loc) 280 B
import type { IExecuteFunctions } from 'n8n-workflow'; export declare function pollUntilAvailable<TResponse>(ctx: IExecuteFunctions, request: () => Promise<TResponse>, check: (response: TResponse) => boolean, timeoutSeconds: number, intervalSeconds?: number): Promise<TResponse>;