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