# AsyncIterable

`import { AsyncIterable } from "destack:async";`

Value that can produce an async iterator.

```ds title="AsyncIterable"
export newtype interface AsyncIterable<T: Copy, R: Copy = void> {
    Iterator: AsyncIterator<T, R> = AsyncIterator<T, R>;
    asyncIterator(): this.Iterator;
}
```

[language/library/src/async/iterator.ds:15:21](https://github.com/destack-sh/destack/blob/main/language/library/src/async/iterator.ds#L15-L21)

## Members

### `Iterator: AsyncIterator<T, R> = AsyncIterator<T, R>`

The asynchronous iterator produced by this value.

### `asyncIterator(): this.Iterator`

Return an asynchronous iterator over this value.
