Module

x/proc/tests/deps/asynciter.ts>first

A better way to work with processes in Deno.
Latest
function first
import { first } from "https://dotland.deno.dev/x/proc@0.21.9/tests/deps/asynciter.ts";

Return the first item of the sequence.

Parameters

iterable: AsyncIterable<T>

Returns

Promise<T | null>

The first item of the sequence.

import first
import { first } from "https://dotland.deno.dev/x/proc@0.21.9/tests/deps/asynciter.ts";