Skip to content

Commit

Permalink
Remove experimental log from mass call client and add as doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdenough committed Dec 19, 2022
1 parent cfd2594 commit 3aa8d5b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions components/js-api-client/src/core/massCallClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -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 = [];
Expand Down

0 comments on commit 3aa8d5b

Please sign in to comment.