MLRequest
7/14/25Less than 1 minute
namespace ML.SDK
Class | Abstract
MLRequest
namespace ML.SDK
{
abstract class MLRequest
}Inherits from CustomYieldInstruction
Summary
A yield-bale, promise type class which allows scripts to wait for result of internal asynchronous operation synchronously using coroutines.
Properties
| Property | Desciption |
|---|---|
| Result | The result of the request. |
| Success | Was the operation successful. After successful operation, the value of the MLRequest<T> can be queried. |
| Failed | Operation failed. When operation fails, the value of the MLRequest<T> is not guaranteed. |
| keepWaiting | Indicates if coroutine should be kept suspended. Inherited from UnityEngine |

