CreateLoaderOptions
Defined in: dataloader-utils.ts:3
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Ctx |
K |
C |
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
cacheKeyFn? |
(key) => C |
- | dataloader-utils.ts:5 |
getCache? |
(ctx) => Map<symbol, unknown> |
Extract the cache map from the context. Defaults to (ctx) => ctx.dl if not provided. |
dataloader-utils.ts:10 |
maxBatchSize? |
number |
- | dataloader-utils.ts:4 |