Receiving data multiple times
Closed this issue · 2 comments
habTeqPaul commented
I am facing issue while using authenticated pusher events.
When I get any event from pusher, in network tab I see only one event, but when I log inside my code, I get multiple log statements.
My code looks something like this
window.Echo.channel('laravalchat').listen('.chatting',(e)=>{
console.log(e)
})
benw-pusher commented
If you only see a single event in the network tab then it suggests you are binding to the event multiple times - are you able to check your code for this?
habTeqPaul commented
Thanks for reply
I solved the issue