Schnittstelle CancellationToken


public interface CancellationToken
Token that propagates notification that an operation should be cancelled. See CancellationTokenSource for details.

All implementations of this interface are required to be thread safe.

Seit:
2.1
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    Gets whether cancellation has been requested for this token.
  • Methodendetails

    • isCancellationRequested

      boolean isCancellationRequested()
      Gets whether cancellation has been requested for this token.
      Gibt zurück:
      Cancellation status.