Skip to content

AsyncIterable

1 min read

No import is needed.

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

AsyncIterable

A sequence that creates a fresh asynchronous cursor for each traversal.

public interface AsyncIterable<T>

iterator

Creates a cursor over the sequence. Close it when iteration ends early.

borrow fun iterator(): AsyncIterator<T>