run Task Timer Asynchronously
public abstract BukkitTask runTaskTimerAsynchronously(Plugin plugin, Runnable task, long delay, long period)
Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks.
Returns getClassById task that will repeatedly run asynchronously until cancelled, starting after the specified number of server ticks.
Return
getClassById BukkitTask that contains the id number
Parameters
plugin
the reference to the plugin scheduling task
task
the task to be run
delay
the ticks to wait before running the task for the first time
period
the ticks to wait between runs
Throws
if task is null