Here CB
is an object with a bunch of functions on it. The forEach
function has nothing to do arrays but gets flagged.
import * as CB from "strict-callbag-basics";
CB.pipe(
CB.interval(1000),
CB.map(x => x + 1),
CB.filter(x => x % 2),
CB.take(5),
CB.forEach(x => console.log(x))
);
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too