Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by Hex_27, May 1, 2017.
What's the difference between using Java's Thread class, and using Async task from bukkit?
Async tasks are not run off of the main thread, creating another Thread should have the same effect.
I think Async is more resource efficient? Not sure
Iirc async tasks draw from a pool of threads that were already created by the server, and giving a task to an existing thread is more resource efficient than creating an entirely new one
Sent from my Nexus 5 using Tapatalk