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
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
batch
</td><td>
readonly RequestEdgehancerDataResourceContext[]
</td><td>
</td></tr> <tr><td>
resolveBatchItemIdFn
</td><td>
(dataResource: RequestEdgehancerDataResourceContext) => TID | undefined
</td><td>
</td></tr> </tbody></table> Returns: