import { fuse } from "https://deno.land/x/iter@v3.2.3/lib/transformers.ts";
Strips and fuses an iterable, such that any results including and after a
result with { done: true }
are ignored. In the current implementation of
most functions, both of these behaviours already happen, so generally this is
only necessary when it is the only operation being applied.
Parameters
iter: Iterable<T>
- The iterable to be fused.
Returns
A stripped and fused iterable.