DeadZone Community Packages
    Preparing search index...

    Function invokeLater

    • Invokes the callback function on the client thread as soon as possible. Useful when certain methods require the client thread to function as intended

      Parameters

      • func: Function

        The callback function which will be executed after the delay

      Returns void

      Client.invokeLater(function() {
      Game.sendGameMessage("A custom message after a 300ms delay", "My Package");
      });