import { AsyncIterator } from "https://deno.land/x/ldkit@v0.6.3/library/asynciterator.ts";
Stops the iterator from generating new items. Already generated items or terminating items can still be emitted. After this, the iterator will end asynchronously.