/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{WorkerHandle as s}from"../core/workers/WorkerHandle.js";class e extends s{constructor(s){super("Lyr3DWorker","process",{process:s=>s.inputs},s,{hasInitialize:!0}),this._srInfos=[]}destroyWasm(){return this.broadcast({},"destroyWasm")}addSpatialReferenceInfo(s,e,r,o){const t={sr:s,isGCS:e,toMetersXY:r,toMetersZ:o};return this._srInfos.push(t),this.broadcast(t,"addSpatialReferenceInfo")}_onClientConnected(s){for(const e of this._srInfos)s.invoke("addSpatialReferenceInfo",e)}}export{e as Lyr3DWorkerHandle};
