Package org.spongepowered.api.scheduler
Interface TaskFuture<V>
-
- Type Parameters:
V- The result type
- All Superinterfaces:
Future<V>
- All Known Subinterfaces:
ScheduledTaskFuture<V>
public interface TaskFuture<V> extends Future<V>
Represents aFutureof aScheduledTask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScheduledTasktask()Retrieves theSchedulerScheduledTaskinstance that is responsible for the execution of this future.
-
-
-
Method Detail
-
task
ScheduledTask task()
Retrieves theSchedulerScheduledTaskinstance that is responsible for the execution of this future.- Returns:
- The backing scheduled task
-
-