async-iter-read

Read from async iterators

Usage no npm install needed!

<script type="module">
  import asyncIterRead from 'https://cdn.skypack.dev/async-iter-read';
</script>

README

async-iter-read

Utilities to read values from sync/async iterables

for-await

Use for-await syntax to consume all values in an iterable

fixed

Read a fixed number of values from an iterables

rolling

Maintain a fixed number of readers on an iterable