MCPcopy Index your code
hub / github.com/omkarcloud/botasaurus / executeAsyncTask

Function executeAsyncTask

js/botasaurus-server-js/src/routes-db-logic.ts:317–320  ·  view source on GitHub ↗
(jsonData: any, withResult: boolean = true,giveFirstResultOnly: boolean = false, )

Source from the content-addressed store, hash-verified

315}
316
317async function executeAsyncTask(jsonData: any, withResult: boolean = true,giveFirstResultOnly: boolean = false, ): Promise<any> {
318 const result = await createAsyncTask(validateTaskRequest(jsonData), withResult, giveFirstResultOnly);
319 return result;
320}
321
322async function executeAsyncTasks(jsonData: any[], withResult: boolean = true, giveFirstResultOnly: boolean = false, ): Promise<any[]> {
323 const validatedDataItems = jsonData.map(validateTaskRequest);

Callers 1

createAsyncTaskFunction · 0.90

Calls 2

validateTaskRequestFunction · 0.90
createAsyncTaskFunction · 0.70

Tested by

no test coverage detected