Interface CloseableAsyncIterable<T>

An async iterable that can be closed when the consumer does not want to read any more elements, freeing up resources that may be held by the iterable.

Type Parameters

  • T


  • AsyncIterable<T>
    • CloseableAsyncIterable


  • Returns AsyncIterator<T, any, undefined>

  • Close the iterable to free up resources when no more elements are required.

    Returns void

Generated using TypeDoc