MCPcopy
hub / github.com/CodebuffAI/codebuff / from

Method from

cli/src/utils/arrays.ts:48–50  ·  view source on GitHub ↗
(iterable: Iterable<T>)

Source from the content-addressed store, hash-verified

46 }
47
48 static from<T>(iterable: Iterable<T>): Queue<T> {
49 return new Queue<T>([...iterable])
50 }
51
52 enqueue(...items: T[]) {
53 if (this._items.length < this._length + items.length) {

Calls

no outgoing calls

Tested by 7

getGrantBalanceFunction · 0.64
formatAnswerFunction · 0.64
createTestItemsFunction · 0.64
rangeFunction · 0.64
createResponseFunction · 0.64