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

Function succeed

packages/effect/src/Channel.ts:836–836  ·  view source on GitHub ↗
(value: A)

Source from the content-addressed store, hash-verified

834 * @since 2.0.0
835 */
836export const succeed = <A>(value: A): Channel<A> => fromEffect(Effect.succeed(value))
837
838/**
839 * Creates a `Channel` that immediately ends with the specified value.

Callers 1

Channel.tsFile · 0.70

Calls 2

fromEffectFunction · 0.70
succeedMethod · 0.45

Tested by

no test coverage detected