You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
socket.on('synchronizedata', (packet) {
print('packet of type ${packet['packetKind']}!-> $packet');
_syncMessages(context, _message);
});
but when the server emits synchronizedata, the code above is fired twice. Any thoughts? Initially, I have them on the build method, but after reading [issue #15], I placed them into initState.
Any thoughts?
The text was updated successfully, but these errors were encountered:
So I have my listeners on
initState
...but when the server emits
synchronizedata
, the code above is fired twice. Any thoughts? Initially, I have them on thebuild
method, but after reading [issue #15], I placed them intoinitState
.Any thoughts?
The text was updated successfully, but these errors were encountered: