鸿蒙 IMLib-v1.8.0
    Preparing search index...

    Interface IAsyncResult<T>

    异步结果

    1.0.0

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

    Type Parameters

    • T = void
    Index

    Properties

    Properties

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

    data?: T

    具体的数据