CoAgent8 - Source API
    Preparing search index...

    Interface SessionResult<T>

    Generic result wrapper for session operations.

    interface SessionResult<T = void> {
        data?: T;
        error?: string;
        ok: boolean;
    }

    Type Parameters

    • T = void
    Index
    data?: T

    Payload returned on success.

    error?: string

    Error message if operation failed.

    ok: boolean

    Whether the session operation succeeded.