diff --git a/components/js-api-client/src/core/massCallClient.ts b/components/js-api-client/src/core/massCallClient.ts index 367d3d37..82cd92d5 100644 --- a/components/js-api-client/src/core/massCallClient.ts +++ b/components/js-api-client/src/core/massCallClient.ts @@ -52,6 +52,14 @@ const createFibonnaciSleeper = () => { }; }; +/** + * Note: MassCallClient is experimental and may not work as expected. + * Creates a mass call client based on an existing ClientInterface. + * + * @param client ClientInterface + * @param options Object + * @returns MassClientInterface + */ export function createMassCallClient( client: ClientInterface, options: { @@ -77,8 +85,6 @@ export function createMassCallClient( let increment = options.initialSpawn ?? 1; const sleeper = createFibonnaciSleeper(); - console.log('⚠️ MassCallClient is experimental and may not work as expected.'); - const execute = async () => { failedPromises = []; let batch = [];