Skip to main content
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

PropertyDesciption
ResultThe result of the request.
SuccessWas the operation successful. After successful operation, the value of the MLRequest<T> can be queried.
FailedOperation failed. When operation fails, the value of the MLRequest<T> is not guaranteed.
keepWaitingIndicates if coroutine should be kept suspended. Inherited from UnityEngine