How kind of @lazertester to test the new scheduler!
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package net.md_5.bungee.api.scheduler;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import net.md_5.bungee.api.plugin.Plugin;
|
||||
|
||||
/**
|
||||
@@ -31,11 +30,7 @@ public interface ScheduledTask
|
||||
Runnable getTask();
|
||||
|
||||
/**
|
||||
* Get the delay in the specified unit before this task will next be
|
||||
* executed.
|
||||
*
|
||||
* @param unit the unit to get the delay in
|
||||
* @return the time before the next execution of this task
|
||||
* Cancel this task to suppress subsequent executions.
|
||||
*/
|
||||
long getDelay(TimeUnit unit);
|
||||
void cancel();
|
||||
}
|
||||
|
Reference in New Issue
Block a user