Version: 2023.1

Awaitable.FromAsyncOperation

切换到手册
public static Awaitable FromAsyncOperation (AsyncOperation op, CancellationToken cancellationToken);

参数

op Async operation object.
cancellationToken Optional cancellation token.

描述

Creates an Awaitable from an existing AsyncOperation object.