Automerge Repo - v2.6.0-alpha.0
    Preparing search index...

    Type Alias QueryState<T>

    QueryState:
        | { sources: Record<string, SourceState>; state: "loading" }
        | {
            handle: DocHandle<T>;
            sources: Record<string, SourceState>;
            state: "ready";
        }
        | { sources: Record<string, SourceState>; state: "unavailable" }
        | { error: Error; sources: Record<string, SourceState>; state: "failed" }

    Type Parameters

    • T