异步结果

1.0.0

interface IAsyncResult<T> {
    code: EngineError;
    data?: T;
}

Type Parameters

  • T = void

Properties

Properties

错误码,EngineError.Success 成功,其余为失败

data?: T

具体的数据