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

Function sync

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

Source from the content-addressed store, hash-verified

568 * @since 2.0.0
569 */
570export const sync = <A>(a: LazyArg<A>): Sink<A> => fromEffect(Effect.sync(a))
571
572/**
573 * A sink that is created from a lazily evaluated sink.

Callers 9

awaitPendingTransactionFunction · 0.70
fiberAwaitFunction · 0.50
fiberAwaitAllFunction · 0.50
fiberJoinFunction · 0.50
fiberJoinAllFunction · 0.50
effect.tsFile · 0.50
LatchClass · 0.50
ClockImplClass · 0.50
sleepMillisMethod · 0.50

Calls 2

fromEffectFunction · 0.70
syncMethod · 0.45

Tested by

no test coverage detected