MCPcopy Create free account
hub / github.com/Effect-TS/effect / resolveConcurrency

Function resolveConcurrency

packages/effect/src/SchemaAST.ts:1873–1876  ·  view source on GitHub ↗
(value: number | "unbounded" | undefined)

Source from the content-addressed store, hash-verified

1871})
1872
1873const resolveConcurrency = (value: number | "unbounded" | undefined) => {
1874 value = value === "unbounded" ? Infinity : value ?? 1
1875 return value > 1 ? { concurrency: value } : undefined
1876}
1877
1878const wrapPropertyKeyIssue = (
1879 s: {

Callers 3

getParserMethod · 0.85
getParserMethod · 0.85
getParserMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected