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 aFuture
of aScheduledTask
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScheduledTask
task()
Retrieves theScheduler
ScheduledTask
instance that is responsible for the execution of this future.
-
-
-
Method Detail
-
task
ScheduledTask task()
Retrieves theScheduler
ScheduledTask
instance that is responsible for the execution of this future.- Returns:
- The backing scheduled task
-
-