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

Function make

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

Source from the content-addressed store, hash-verified

432 * @since 4.0.0
433 */
434export function make(get: (path: Path) => Effect.Effect<Node | undefined, SourceError>): ConfigProvider {
435 return makeSource(get, identityPath)
436}
437
438/**
439 * Returns a provider that falls back to `that` when `self` returns `undefined`

Callers 3

fromUnknownFunction · 0.70
fromEnvRecordFunction · 0.70
ConfigProvider.tsFile · 0.70

Calls 1

makeSourceFunction · 0.70

Tested by

no test coverage detected