MCPcopy Index your code
hub / github.com/Effect-TS/effect / succeed

Function succeed

packages/effect/src/internal/logger.ts:117–119  ·  view source on GitHub ↗
(value: A)

Source from the content-addressed store, hash-verified

115
116/** @internal */
117export const succeed = <A>(value: A): Logger.Logger<unknown, A> => {
118 return simple(() => value)
119}
120
121/** @internal */
122export const sync = <A>(evaluate: LazyArg<A>): Logger.Logger<unknown, A> => {

Callers

nothing calls this directly

Calls 1

simpleFunction · 0.85

Tested by

no test coverage detected