Interface Cancellable


  • public interface Cancellable
    Represents tasks (possibly to run in the future) that can be cancelled. If a task is already running in another thread, behavior is unspecified: the task may either be forcibly terminated or run to completion.
    Since:
    7.4
    • Method Detail

      • cancel

        void cancel()
        A request to cancel the task