Solved Is runTasLater Sync or Async ?

Discussion in 'Plugin Development' started by Oneric-1st, Feb 15, 2014.

Thread Status:
Not open for further replies.
  1. Hi
    I was just wondering if the Bukkit.getSheduler().runTaskLater(...) method will create a synchronous or an asynchronous Thread / Task. I just want to be sure.

    Thanks in advance :D

    ~Oneric
     
  2. Offline

    Panjab

    Oneric-1st

    Synchronous, because theres an asynchronous method itself:

    runTaskLaterAsynchronously();
     
    Oneric-1st likes this.
  3. Offline

    Jogy34

    Synchronous, I've used it to fix asynchronous bugs in my own code when I was trying to do something from the chat thread.
     
    Oneric-1st likes this.
  4. Thank you Jogy34 and Panjab :)
     
    Panjab likes this.
Thread Status:
Not open for further replies.

Share This Page