Variable: emptyAsync
const
emptyAsync:AsyncIterable
<any
>
An async iterable that contains zero values.
Can be used as an async iterable of any type.
Like []
, but for async iterables.
Example
import { emptyAsync, pipe, reduceAsync, toArray } from 'lfi'
console.log(
await pipe(
emptyAsync,
reduceAsync(toArray()),
),
)
//=> []
Since
v0.0.1