Member Junction
    Preparing search index...

    Global streaming service that manages PubSub subscriptions for all conversations.

    Maintains a single GraphQL subscription and routes updates to registered per-message callbacks, regardless of which conversation is currently visible. This ensures messages update correctly even when users navigate away and return.

    Usually accessed via ConversationsRuntime.Instance.Streaming.

    Index

    Constructors

    Properties

    completionEvents$: Subject<CompletionEvent> = ...

    Observable for components to subscribe to completion events in real-time. Emits enriched completion data once per agent finish.

    Methods

    • Diagnostic snapshot for a specific message — used by debugging tools to dump live in-memory state.

      Parameters

      • messageId: string

      Returns {
          callbackCount: number;
          connectionStatus: StreamingConnectionStatus;
          hasCallbacks: boolean;
          recentCompletion:
              | { agentRunId: string; conversationDetailId: string; timestamp: Date }
              | undefined;
      }

    • Replay a recently completed event so a late-mounting component can pick it up. Returns undefined if no completion is in the 5-minute replay window.

      Parameters

      • conversationDetailId: string

      Returns { agentRunId: string } | undefined