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

Function sync

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

Source from the content-addressed store, hash-verified

882 * @since 2.0.0
883 */
884export const sync = <A>(evaluate: LazyArg<A>): Channel<A> => fromEffect(Effect.sync(evaluate))
885
886/**
887 * 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