UFCancellationTokenSource can be used to get a IUFCancellationToken. The token can be activated by calling the cancel method.

It is possible to link tokens together by supplying other IUFCancellationToken instances with the constructor.

The naming is based on the .net (c#) implementation.

Implements

Constructors

Accessors

Methods

Constructors

Accessors

  • get isCancellationRequested(): boolean
  • Checks if a call was made to cancel or if one of the other tokens supplied with the constructor is requesting cancellation.

    Returns boolean

Methods