MCPcopy Create free account
hub / github.com/nodejs/undici / constructor

Method constructor

lib/web/fetch/util.js:754–758  ·  view source on GitHub ↗

* @see https://webidl.spec.whatwg.org/#dfn-default-iterator-object * @param {unknown} target * @param {'key' | 'value' | 'key+value'} kind

(target, kind)

Source from the content-addressed store, hash-verified

752 * @param {'key' | 'value' | 'key+value'} kind
753 */
754 constructor (target, kind) {
755 this.#target = target
756 this.#kind = kind
757 this.#index = 0
758 }
759
760 next () {
761 // 1. Let interface be the interface for which the iterator prototype object exists.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected