MCPcopy Index your code
hub / github.com/Effect-TS/effect / newDistributedWithDynamicId

Function newDistributedWithDynamicId

packages/effect/src/internal/stream.ts:2036–2040  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2034const distributedWithDynamicId = { ref: 0 }
2035
2036const newDistributedWithDynamicId = () => {
2037 const current = distributedWithDynamicId.ref
2038 distributedWithDynamicId.ref = current + 1
2039 return current
2040}
2041
2042/** @internal */
2043export const distributedWithDynamic = dual<

Callers 2

stream.tsFile · 0.85
finalizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected