Version: 2023.1
言語: 日本語
public void Cancel ();

説明

Cancel the awaitable. If the awaitable is being awaited, the awaiter will get a System.OperationCanceledException.

Note: some methods returning an awaitable also accept a CancellationToken. Both cancelation models are equivalent.