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

Function constructEffect

packages/effect/src/SchemaParser.ts:1134–1136  ·  view source on GitHub ↗
(entry: CompilerRegistry.Entry, input: unknown, options: SchemaAST.ParseOptions)

Source from the content-addressed store, hash-verified

1132}
1133
1134function constructEffect<T>(entry: CompilerRegistry.Entry, input: unknown, options: SchemaAST.ParseOptions) {
1135 return parserResult<T, never>(entry.makeEffect(input, options), input)
1136}
1137
1138function constructSync<T>(entry: CompilerRegistry.Entry, input: unknown, options: Schema.MakeOptions | undefined): T {
1139 const parseOptions = constructorParseOptions(options)

Callers 2

makeEffectFunction · 0.85
constructSyncFunction · 0.85

Calls 2

parserResultFunction · 0.85
makeEffectMethod · 0.65

Tested by

no test coverage detected