Skip to content

Function: createBatchRun()

ts
function createBatchRun<P>(
   realClient, 
   buildProxy, 
executeBatch): <T>(callback) => Promise<{ [K in string | number | symbol]: Awaited<T[K]> }>;

Defined in: core/batchRun.ts:10

Type Parameters

Type Parameter
P

Parameters

ParameterType
realClientClient
buildProxy(recordingClient) => P
executeBatch(urls) => Promise<Record<string, unknown>[]>

Returns

<T>(callback) => Promise<{ [K in string | number | symbol]: Awaited<T[K]> }>