MCPcopy
hub / github.com/Effect-TS/effect / succeed

Function succeed

packages/effect/src/internal/sink.ts:1855–1855  ·  view source on GitHub ↗
(a: A)

Source from the content-addressed store, hash-verified

1853
1854/** @internal */
1855export const succeed = <A>(a: A): Sink.Sink<A, unknown> => new SinkImpl(core.succeed(a))
1856
1857/** @internal */
1858export const sum: Sink.Sink<number, number> = foldLeftChunks(

Callers 15

mockImplFunction · 0.70
layer.tsFile · 0.70
fiberAwaitFunction · 0.50
succeedSomeFunction · 0.50
Micro.tsFile · 0.50
fromOptionFunction · 0.50
fromEitherFunction · 0.50
try_Function · 0.50
promiseFunction · 0.50
tryPromiseFunction · 0.50
contAFunction · 0.50
serviceOptionFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…