Member Junction
    Preparing search index...

    Service for tracking active agent tasks across the application. Maintains a live list of running agents and their status.

    Index

    Constructors

    Properties

    conversationIdsWithTasks$: Observable<Set<string>> = ...

    Observable of conversation IDs that have 1+ active tasks Use this for quick lookups in conversation lists

    taskCount$: Observable<number> = ...

    Observable of the count of active tasks

    tasks$: Observable<ActiveTask[]> = ...

    Observable of all active tasks as an array

    tasksByConversationId$: Observable<Map<string, ActiveTask[]>> = ...

    Observable of tasks grouped by conversation ID Returns Map<conversationId, ActiveTask[]>

    Accessors

    Methods

    • Update the status of a task by its conversation detail ID

      Parameters

      • conversationDetailId: string

        The conversation detail ID

      • status: string

        The new status text

      Returns boolean

      true if task was found and updated, false otherwise