/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{throwIfAborted as o}from"./promiseUtils.js";async function*n(n,t){o(t);for(const f of n){const n=await f;o(t),null!=n&&(yield n)}}async function*t(n,t){for await(const f of n)for(const n of f??[])o(t),null!=n&&(yield n)}export{t as generatorFlat,n as generatorFromPromises};
