Package arez

Class Task

All Implemented Interfaces:
Disposable

public final class Task extends Node
A task represents an executable element that can be run by the task executor.
  • Method Details

    • schedule

      public void schedule()
      Re-schedule this task if it is idle and trigger the scheduler if it is not active.
    • dispose

      public void dispose()
      Description copied from interface: Disposable
      Dispose the element. See Disposable for a description of the implications.
    • isDisposed

      public boolean isDisposed()
      Description copied from interface: Disposable
      Return true if dispose() has been called on object.
      Returns:
      true if dispose has been called.