Skip to content

CreateLoaderOptions

Defined in: dataloader-utils.ts:3

Type Parameter
Ctx
K
C
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