MCPcopy
hub / github.com/Effect-TS/effect / getConcurrency

Function getConcurrency

packages/effect/src/ParseResult.ts:772–773  ·  view source on GitHub ↗
(ast: AST.AST)

Source from the content-addressed store, hash-verified

770}
771
772const getConcurrency = (ast: AST.AST): Concurrency | undefined =>
773 Option.getOrUndefined(AST.getConcurrencyAnnotation(ast))
774
775const getBatching = (ast: AST.AST): boolean | "inherit" | undefined =>
776 Option.getOrUndefined(AST.getBatchingAnnotation(ast))

Callers 1

goFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected