MCPcopy
hub / github.com/nodejs/undici / reduce

Method reduce

types/fetch.d.ts:75–75  ·  view source on GitHub ↗
(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T)

Source from the content-addressed store, hash-verified

73 drop(count: number): SpecIteratorObject<T>;
74 flatMap<U>(callbackfn: (value: T, index: number) => Iterator<U> | Iterable<U>): SpecIteratorObject<U>;
75 reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T): T;
76 reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T, initialValue: T): T;
77 reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number) => U, initialValue: U): U;
78 toArray(): T[];

Callers 9

checkMemoryTrendFunction · 0.80
buildParamsFunction · 0.80
abort2.jsFile · 0.80
runFunction · 0.80
balanced-pool.jsFile · 0.80
client-dispatch.jsFile · 0.80
benchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected