MCPcopy
hub / github.com/Effect-TS/effect / sync

Function sync

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

Source from the content-addressed store, hash-verified

1895
1896/** @internal */
1897export const sync = <A>(evaluate: LazyArg<A>): Sink.Sink<A, unknown> => new SinkImpl(core.sync(evaluate))
1898
1899/** @internal */
1900export const take = <In>(n: number): Sink.Sink<Chunk.Chunk<In>, In, In> =>

Callers 5

fiberAwaitFunction · 0.50
Micro.tsFile · 0.50
ignoreLoggedFunction · 0.50
sleepFunction · 0.50
forkMethod · 0.50

Calls 1

syncMethod · 0.80

Tested by

no test coverage detected