Liferay.Loader.define("journal-web@5.0.100/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(){const[e]=(0,r.useState)((()=>{const e=new Set;return{onData:t=>(e.add(t),()=>{e.delete(t)}),sendData(t){e.forEach((e=>{e(t)}))}}}));return e};var r=n("liferay!frontend-js-react-web$react")}));
//# sourceMappingURL=useChannel.js.map