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

Function sync

packages/effect/src/Sink.ts:590–590  ·  view source on GitHub ↗
(a: LazyArg<A>)

Source from the content-addressed store, hash-verified

588 * @since 2.0.0
589 */
590export const sync = <A>(a: LazyArg<A>): Sink<A> => fromEffect(Effect.sync(a))
591
592/**
593 * A sink that is created from a lazily evaluated sink.

Callers 3

txFunction · 0.70
awaitPendingTransactionFunction · 0.70
foldUntilFunction · 0.70

Calls 2

fromEffectFunction · 0.70
syncMethod · 0.45

Tested by

no test coverage detected