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 theSchedulerScheduledTaskinstance that is responsible for the execution of this future.
-
Method Details
-
task
ScheduledTask task()Retrieves theSchedulerScheduledTaskinstance that is responsible for the execution of this future.- Returns:
- The backing scheduled task
-