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
This happens because I register my event listener at startup, but the channel object is created much later.
For now I will just use the user list supplied in the event args instead of reading it from the channel property. But perhaps we can avoid this surprise by having a separate internal EventEmitter that is emitted to first so all the internal state can be correct before any listeners are called by the public emitter.
Using
setTimeout
with 0 delay can work around it.The text was updated successfully, but these errors were encountered: