Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. amit-gshe
amit-gshe

amit-gshe

@amit-gshe

Chat Follow Unfollow
0
Reputation
3
Posts
1.0k
Profile views
0
Followers
0
Following
Joined 30 Aug 2018, 09:21 Last Online 17 Oct 2018, 09:51

  • Profile
  • More
    • Continue chat with amit-gshe
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
amit-gshe Follow

Posts made by amit-gshe

RE: _disposeIfEmpty not trigger the onDispose callback

@endel Thanks for your response. It works as I expect.

posted in Questions & Help • 17 Oct 2018, 02:18
_disposeIfEmpty not trigger the onDispose callback

Hi all, I wonder how to do some logic when there is no clients in room. I trying to set the autoDispose of the room to false but how do I dispose the room? And I call protected _disposeIfEmpty but the onDispose not triggered.
Update
Can I use this.emit('dispose'); to dispose the room mannually?

posted in Questions & Help • 16 Oct 2018, 10:09

© 2023 Endel Dreyer