asyncIterator
Source: lib/asyncIterator.js (pure JS) — default export: AsyncIterator
A base class providing the async-iterator protocol and helper methods.
Exports
| Export | Kind | Description |
|---|---|---|
AsyncIterator | class | Async-iterator base (next, [Symbol.asyncIterator], helpers). (default export) |
AsyncIteratorPrototype | const | Shortcut for AsyncIterator.prototype. |
Export list
Generated by utilities/doc-api.js from the asyncIterator dump of utilities/api-surface.sh: 52 members. Edit the text above this block, not the block.
Functions: AsyncIteratorPrototype[Symbol.asyncIterator](), AsyncIteratorPrototype[Symbol.toStringTag]()
AsyncIterator
class, constructible
- static methods:
from() - methods:
drop(),dropWhile(),every(),filter(),find(),flatMap(),forEach(),map(),reduce(),some(),take(),takeWhile(),toArray(),[Symbol.asyncIterator]() - properties:
[Symbol.toStringTag]
AsyncIteratorPrototype
object
- static methods:
drop(),dropWhile(),every(),filter(),find(),flatMap(),forEach(),map(),reduce(),some(),take(),takeWhile(),toArray()
default
class, constructible
- static methods:
from() - methods:
drop(),dropWhile(),every(),filter(),find(),flatMap(),forEach(),map(),reduce(),some(),take(),takeWhile(),toArray(),[Symbol.asyncIterator]() - properties:
[Symbol.toStringTag]