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

Function sync

packages/effect/src/Channel.ts:970–970  ·  view source on GitHub ↗
(evaluate: LazyArg<A>)

Source from the content-addressed store, hash-verified

968 * @since 2.0.0
969 */
970export const sync = <A>(evaluate: LazyArg<A>): Channel<A> => fromEffect(Effect.sync(evaluate))
971
972/**
973 * Represents a `Channel` that emits no elements.

Callers

nothing calls this directly

Calls 2

fromEffectFunction · 0.70
syncMethod · 0.45

Tested by

no test coverage detected