Interface GCancelable

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface GCancelable
Represents a function that cancels a task.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final GCancelable
    No-op cancelable.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cancels the task.
  • Field Details

    • NOOP

      static final GCancelable NOOP
      No-op cancelable.
  • Method Details

    • cancel

      void cancel()
      Cancels the task.