Liferay.Loader.define("@liferay/template-web@1.0.53/js/ddm_template_editor/hooks/useChannel",["module","exports","require","liferay!frontend-js-react-web$react"],(function(e,t,n){window;Object.defineProperty(t,"__esModule",{value:!0}),t.useChannel=function useChannel(){const[e]=(0,a.useState)((()=>{const e=new Set;return{onData:t=>(e.add(t),()=>{e.delete(t)}),sendData(t){e.forEach((e=>{e(t)}))}}}));return e};var a=n("liferay!frontend-js-react-web$react")}));
//# sourceMappingURL=useChannel.js.map