Package com.plotsquared.core.util.task
Interface YieldRunnable
- All Superinterfaces:
Runnable
A runnable that can be yielded.
If
yield()
is invoked, Runnable.run()
will be called
on the next tick again. Implementations need to save their state
correctly.-
Method Summary
Modifier and TypeMethodDescriptiondefault void
yield()
Runs theRunnable.run()
method again on the next tick.
-
Method Details
-
yield
default void yield()Runs theRunnable.run()
method again on the next tick.
-