DeadZone Community Packages
    Preparing search index...

    Function invokeLater

    • Delays execution for a period of time and calls the provided function when complete

      Parameters

      • func: Function

        The callback function which will be executed after the delay

      • delayMS: number

        The amount of time in milliseconds to delay execution

      Returns void

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