Home > @uniformdev/mesh-edgehancer-sdk > resolveBatchFetchIds
resolveBatchFetchIds() function
Given a batch of data resources to fetch, and a function to extract a batch-fetch ID from each resource, returns the valid IDs to fetch in a batch.
Signature:
Parameters
Parameter | Type | Description |
---|---|---|
batch | readonly RequestEdgehancerDataResourceContext[] | |
resolveBatchItemIdFn | (dataResource: RequestEdgehancerDataResourceContext) => TID | undefined |
Returns: