Skip to main content
Module

x/kd_clients/deps.ts>returnsNext

Various HTTP clients for miscellaneous use.
Go to Latest
function returnsNext
Re-export
import { returnsNext } from "https://deno.land/x/kd_clients@v1.0.0-preview.7/deps.ts";

Creates a function that returns the iterable values. Any iterable values that are errors will be thrown.

Type Parameters

Return
optional
Self = any
optional
Args extends unknown[] = any[]

Parameters

values: Iterable<Return | Error>

Returns

(this: Self, ...args: Args) => Return