public static Task<ExternalTaskWaitResult<T>> Coroutine.ExternalTask<T>(Task<T> externalTask, int millisecondsTimeout)
Calls ExternalTask on Coroutine with externalTask, millisecondsTimeout and returns Task<ExternalTaskWaitResult<T>>. Open the return contract below before using the result.
Task<ExternalTaskWaitResult<T>>Describes the outcome of external task wait. Check the returned outcome before continuing with another action.
Parameters
externalTask- Parameter type:
Task<T>No current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies external task.
millisecondsTimeout- Parameter type:
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies milliseconds timeout.
Returns: An asynchronous operation. Await it before reading the result or continuing the workflow.