MCPcopy
hub / github.com/mongodb/node-mongodb-native / [Symbol.iterator]

Method [Symbol.iterator]

src/utils.ts:691–695  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

689 }
690
691 *[Symbol.iterator](): Generator<T, void, void> {
692 for (const node of this.nodes()) {
693 yield node.value;
694 }
695 }
696
697 private *nodes(): Generator<ListNode<T>, void, void> {
698 let ptr: HeadNode<T> | ListNode<T> | EmptyNode = this.head.next;

Callers

nothing calls this directly

Calls 1

nodesMethod · 0.95

Tested by

no test coverage detected