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

Function succeed

packages/effect/src/internal/metric.ts:258–259  ·  view source on GitHub ↗
(out: Out)

Source from the content-addressed store, hash-verified

256
257/** @internal */
258export const succeed = <Out>(out: Out): Metric.Metric<void, unknown, Out> =>
259 make(void 0 as void, constVoid, () => out, constVoid)
260
261/** @internal */
262export const sync = <Out>(evaluate: LazyArg<Out>): Metric.Metric<void, unknown, Out> =>

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected