/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
import{b as n}from"./EH5Y2TRK.js";var s=()=>n((a,o)=>{let e=new Set;return o.onDisconnected(()=>{e.forEach(r=>r.cancel())}),{add:r=>{[r].flat().forEach(c=>e.add(c))},resources:e}});export{s as a};
