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

Function makeDetailedSync

packages/effect/src/SchemaParser.ts:1094–1098  ·  view source on GitHub ↗
(
  entry: CompilerRegistry.Entry
)

Source from the content-addressed store, hash-verified

1092}
1093
1094function makeDetailedSync<T>(
1095 entry: CompilerRegistry.Entry
1096): (input: unknown, options?: SchemaAST.ParseOptions) => T {
1097 return asSync(runWithCompiler<T, never>(() => entry.decodeEffect, entry.ast))
1098}
1099
1100function asSync<T, E>(
1101 parser: (input: E, options?: SchemaAST.ParseOptions) => Effect.Effect<T, SchemaIssue.Issue>

Callers 1

makeSyncEntryFunction · 0.85

Calls 2

asSyncFunction · 0.85
runWithCompilerFunction · 0.85

Tested by

no test coverage detected