MCPcopy Create free account
hub / github.com/effect-app/libs / getBatchSize

Function getBatchSize

packages/effect-app/src/Model/Repository/ext.ts:27–32  ·  view source on GitHub ↗
(batch?: true | number)

Source from the content-addressed store, hash-verified

25 : [itemOrItems as T]
26
27const getBatchSize = (batch?: true | number) =>
28 batch === true
29 ? 100
30 : typeof batch === "number" && Number.isFinite(batch) && batch > 0
31 ? Math.floor(batch)
32 : undefined
33
34export const extendRepo = <
35 T,

Callers 1

extendRepoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…