@dxos/react-client
    Preparing search index...

    Function useFlush

    • Flushes a space's database to storage, exposing a transient idle → flushing → flushed → idle state suitable for driving a toolbar affordance.

      Parameters

      Returns { handleFlush: () => void; state: "idle" | "flushing" | "flushed" }