@logixjs/react
    Preparing search index...

    Interface UseProcessesOptions

    interface UseProcessesOptions {
        deps?: DependencyList;
        gcTime?: number;
        mode?: "switch" | "exhaust";
        subtreeId?: string;
    }
    Index

    Properties

    deps?: DependencyList
    gcTime?: number

    Keep-alive time (ms) after unmount, to absorb StrictMode / Suspense jitter:

    • We do not stop immediately on unmount; we close the scope after gcTime (and refCount is still 0).
    mode?: "switch" | "exhaust"

    Restart semantics for stop -> start:

    • switch (default): if the previous instance is still stopping, ensure the "current install intent" resumes after stopping finishes.
    • exhaust: ignore this install while stopping; it will only resume on the next install.
    subtreeId?: string

    Stable identifier for a UI subtree scope.

    • Recommended: a domain boundary id (e.g. route / feature key) for diagnostics and filtering.
    • Default: derived from React.useId() (stable for the same tree position; reusable under StrictMode).