MCPcopy Create free account
hub / github.com/effect-app/libs / appendAll

Function appendAll

repos/effect/packages/effect/src/MutableList.ts:472–473  ·  view source on GitHub ↗
(self: MutableList<A>, messages: Iterable<A>)

Source from the content-addressed store, hash-verified

470 n = Math.min(n, self.length)
471 if (n === self.length && self.head?.offset === 0 && !self.head.next) {
472 clear(self)
473 return
474 }
475 let count = 0
476 let chunk: MutableList.Bucket<A> | undefined = self.head

Callers 4

Array.tsFile · 0.85
TxChunk.tsFile · 0.85
Iterable.tsFile · 0.85
Chunk.tsFile · 0.85

Calls 1

appendAllUnsafeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…