Function mapPromisesToSyncUp
- mapPromisesToSyncUp<SyncUpCheckpointCount, ArrayToMap, Res>(syncUpCheckpointCount, arr, fn): Promise<Res>[]
Type Parameters
SyncUpCheckpointCount extends number
ArrayToMap extends any[]
Res
Parameters
fn: ((syncUpCheckpoints, elm, index) => Promise<Res>)
- (syncUpCheckpoints, elm, index): Promise<Res>
Returns Promise<Res>
Returns Promise<Res>[]