Skip to main content

Function: batchOperations()

function batchOperations<T>(
batchCallback: (items: T[]) => void,
options?: BatchOptions
): (item: T) => void;

Defined in: utils/app/performance/performanceUtils.ts:57

Batch multiple operations together.

Type Parameters​

T​

T

Parameters​

batchCallback​

(items: T[]) => void

options?​

BatchOptions = {}

Returns​

(item: T) => void