@honua/sdk-js
    Preparing search index...

    Interface UseCapabilitiesResult

    Result of useCapabilities.

    interface UseCapabilitiesResult {
        data: HonuaServerCompatibility | undefined;
        dataUpdatedAt?: number;
        error: unknown;
        isFetching: boolean;
        isLoading: boolean;
        refetch: () => void;
        status: QueryStatus;
    }

    Hierarchy (View Summary)

    Index

    Properties

    data: HonuaServerCompatibility | undefined

    Last resolved value. Preserved across background refetches.

    dataUpdatedAt?: number

    Epoch milliseconds of the last successful fetch, undefined until one resolves. Drives stale-while-revalidate decisions.

    error: unknown

    Last rejection reason, cleared on the next successful fetch.

    isFetching: boolean

    True whenever a fetch is in flight, including background refetches.

    isLoading: boolean

    True only while the first fetch (no data yet) is in flight.

    refetch: () => void
    status: QueryStatus