function resolvesNextimport { resolvesNext } from "https://dotland.deno.dev/std@0.181.0/testing/mock.ts"; resolvesNext<Return, Self = any, Args extends unknown[] = any[]>(iterable: Iterable<Return | Error | Promise<Return | Error>> | AsyncIterable<Return | Error | Promise<Return | Error>>): (this: Self, ...args: Args) => Promise<Return>Creates a function that resolves the awaited iterable values. Any awaited iterable values that are errors will be thrown. Type ParametersReturnoptionalSelf = anyoptionalArgs extends unknown[] = any[]Parametersiterable: Iterable<Return | Error | Promise<Return | Error>> | AsyncIterable<Return | Error | Promise<Return | Error>>Returns(this: Self, ...args: Args) => Promise<Return>