/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{FabricKustoConnection as e}from"./FabricKustoConnection.js";import n from"./GeoEventConnection.js";import{WebSocketConnection as o}from"./WebSocketConnection.js";import{ClientSideConnection as t}from"../../../support/ClientSideConnection.js";function r(r,c){switch(r.type){case"client":return new t(r,c);case"custom":return new o(r,c);case"geoevent":return new n(r,c);case"kusto":return new e(r,c)}}export{r as createConnection};
