@coveo/headless
    Preparing search index...

    Interface AttachedResults

    The AttachedResults controller manages all attached results for a given case. It provides a unified API to attach/detach results, check attachment status, and access all attached results for the case.

    interface AttachedResults {
        state: AttachedResultsState;
        attach(result: Result): void;
        detach(result: Result): void;
        isAttached(result: Result): boolean;
        subscribe(listener: () => void): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    The state of the AttachedResults controller. Returns all attached results for this case.