Cerbos JavaScript SDK
    Preparing search index...

    Interface AsyncResultSuccess<T>

    Result of a successful async method call.

    interface AsyncResultSuccess<T> {
        data: T;
        error: undefined;
        isLoading: false;
    }

    Type parameters

    • T

      Return type of the method.

    Index

    Properties

    Properties

    data: T

    Data returned by the async method call.

    error: undefined

    No error was thrown by the async method call.

    isLoading: false

    The async method call has completed.