Package org.spongepowered.api.scheduler
Interface TaskFuture<V>
- Type Parameters:
V
- The result type
- All Superinterfaces:
Future<V>
- All Known Subinterfaces:
ScheduledTaskFuture<V>
Represents a
Future
of a ScheduledTask
.-
Method Summary
Modifier and TypeMethodDescriptiontask()
Retrieves theScheduler
ScheduledTask
instance that is responsible for the execution of this future.
-
Method Details
-
task
ScheduledTask task()Retrieves theScheduler
ScheduledTask
instance that is responsible for the execution of this future.- Returns:
- The backing scheduled task
-