CancellationToken.getDefault 方法

定义

Creates and returns a Cancellation token object. This method should be used when the CancellationToken doesn't support cancellation. Only Cancellation tokens created through getToken() supports cancellations.

public static CancellationToken getDefault()

返回

适用于