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. theturboboy
  3. Posts
  • Profile
  • More
    • Continue chat with theturboboy
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

Posts made by theturboboy

RE: Can I remove one handle in OnMessage?

onMessage returns function that remove listner:

var removeListner = room.onMessage("powerup", (message) => {
  console.log("message received from server");
  console.log(message);
});

removeListner();
posted in Questions & Help • 5 Jun 2020, 10:27

© 2023 Endel Dreyer