runTaskAsynchronously

Asynchronous tasks should never access any API in Bukkit. Great care should be taken to assure the thread-safety of asynchronous tasks.
Schedules this in the Bukkit scheduler to run asynchronously.

Return

{@link MyScheduledTask}

Parameters

plugin

the reference to the plugin scheduling task

Throws

if plugin is null

if this was already scheduled