WithCreateBatchesFunc
Configures how cache items should be batched for refresh. Defaults to single item batching.
def WithCreateBatchesFunc(
createBatchesCb: CreateBatchesFunc
) - > Option
Configures how cache items should be batched for refresh. Defaults to single item batching.
Parameters
| Name | Type | Description |
|---|---|---|
| createBatchesCb | CreateBatchesFunc | The function to be used for creating batches of cache items for refresh. |
Returns
| Type | Description |
|---|---|
Option | An Option function that modifies the Options struct to set the createBatchesCb. |