Skip to main content
Module

x/ldkit/library/asynciterator.ts>AsyncIterator#append

LDkit - Linked Data query toolkit for TypeScript developers
Go to Latest
method AsyncIterator.prototype.append
Re-export
import { AsyncIterator } from "https://deno.land/x/ldkit@v0.6.4/library/asynciterator.ts";

Appends the items after those of the current iterator. After this operation, only read the returned iterator instead of the current one.

Parameters

items: T[] | AsyncIterator<T>

Items to insert after this iterator's (remaining) items

Returns

A new iterator that appends items to this iterator