tarlatan
    Preparing search index...

    Variable claudeStreamLineConst

    claudeStreamLine: (
        line: string,
    ) => StreamLine<
        {
            is_error?: boolean;
            result?: string;
            session_id?: string;
            subtype?: string;
            type: "result";
        },
    > = ...

    Reads one stream-json line for classification (review item B13): a result event must decode as a ClaudeResult; any other event object is passed over; anything else is malformed.

    Type Declaration

      • (
            line: string,
        ): StreamLine<
            {
                is_error?: boolean;
                result?: string;
                session_id?: string;
                subtype?: string;
                type: "result";
            },
        >
      • Parameters

        • line: string

        Returns StreamLine<
            {
                is_error?: boolean;
                result?: string;
                session_id?: string;
                subtype?: string;
                type: "result";
            },
        >