import { subscribe } from "https://deno.land/x/effection@4.0.0-alpha.1/lib/mod.ts";
Convert any AsyncIterator
into an effection Subscription
This allows you to consume any AsyncIterator
as a Subscription.
Returns
Subscription<T, R>
a subscription that will produce each item of iter