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

Function event

packages/effect/test/Channel/reading.test.ts:187–187  ·  view source on GitHub ↗
(label: string)

Source from the content-addressed store, hash-verified

185 Effect.gen(function*() {
186 const ref = yield* (Ref.make<ReadonlyArray<string>>([]))
187 const event = (label: string) => Ref.update(ref, (array) => [...array, label])
188 const left = pipe(
189 Channel.acquireReleaseOut(
190 event("Acquire outer"),

Callers 1

reading.test.tsFile · 0.70

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected