(jsonData: any, withResult: boolean = true,giveFirstResultOnly: boolean = false, )
| 315 | } |
| 316 | |
| 317 | async 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 | |
| 322 | async function executeAsyncTasks(jsonData: any[], withResult: boolean = true, giveFirstResultOnly: boolean = false, ): Promise<any[]> { |
| 323 | const validatedDataItems = jsonData.map(validateTaskRequest); |
no test coverage detected