Function: emptyConcur()
emptyConcur(
apply
):Promise
<void
>
A concur iterable that contains zero values.
Can be used as a concur iterable of any type.
Like []
, but for concur iterables.
Parameters
apply
ConcurIterableApply
<any
>
Returns
Promise
<void
>
Example
import { emptyConcur, pipe, reduceConcur, toArray } from 'lfi'
console.log(
await pipe(
emptyConcur,
reduceConcur(toArray()),
),
)
//=> []
Since
v0.0.2