An interface that allows async iterable iteration both to completion and by page.
Properties byPageReturn an AsyncIterableIterator that works a page at a time
Methods next()The next method, part of the iteration protocol
[asyncIterator]()The connection to the async iterator, part of the iteration protocol
Property Details byPageReturn an AsyncIterableIterator that works a page at a time
byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>
Property Value
(settings?: TPageSettings) => AsyncIterableIterator<TPage>
Method Details next()The next method, part of the iteration protocol
function next(): Promise<IteratorResult<TElement, any>>
Returns
Promise<IteratorResult<TElement, any>>
[asyncIterator]()The connection to the async iterator, part of the iteration protocol
function [asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>
Returns
PagedAsyncIterableIterator<TElement, TPage, TPageSettings>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4