Interface AsyncDelay
- All Known Implementing Classes:
TimerDelay
public interface AsyncDelay
Performs a delay asynchronously. That is, schedules a task to be executed after the delay,
potentially on another thread. If no delay is needed, the task may be executed directly
on the calling thread.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
NONE
-
-
Method Details
-
after
Runs thetaskafter delay on givenExecutor. If givenexecutorisnull, the task is executed on an implementation-defined thread.
-