Invokes the callback function on the client thread as soon as possible. Useful when certain methods require the client thread to function as intended
The callback function which will be executed after the delay
Client.invokeLater(function() { Game.sendGameMessage("A custom message after a 300ms delay", "My Package");}); Copy
Client.invokeLater(function() { Game.sendGameMessage("A custom message after a 300ms delay", "My Package");});
Invokes the callback function on the client thread as soon as possible. Useful when certain methods require the client thread to function as intended