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

Function make

packages/effect/src/ConfigProvider.ts:445–447  ·  view source on GitHub ↗
(get: (path: Path) => Effect.Effect<Node | undefined, SourceError>)

Source from the content-addressed store, hash-verified

443 * @since 4.0.0
444 */
445export function make(get: (path: Path) => Effect.Effect<Node | undefined, SourceError>): ConfigProvider {
446 return makeSource(get, identityPath)
447}
448
449/**
450 * Returns a provider that falls back to `that` when `self` returns `undefined`

Callers 4

fromUnknownFunction · 0.70
fromEnvRecordFunction · 0.70
fromEnvFunction · 0.70
ConfigProvider.tsFile · 0.70

Calls 1

makeSourceFunction · 0.70

Tested by

no test coverage detected