Member Junction
    Preparing search index...

    Observes Sessions/Channels lifecycle from the registered adapter and re-broadcasts via SessionLifecycle$.

    Lifecycle: constructed once by ConversationsRuntime (singleton). Stays subscribed to the adapter's stream until Dispose() is called. Adapter swaps via UseSessionsAdapter unsubscribe the prior adapter cleanly.

    Usually accessed via ConversationsRuntime.Instance.Sessions.

    Index

    Constructors

    Properties

    SessionLifecycle$: Observable<SessionLifecycleEvent>

    Stream of session lifecycle events from whatever adapter is currently registered. Subscribers see only events that occur AFTER they subscribe — SessionsObserver does not replay history (use RealtimeSessionReviewService for past-session loading, separate concern).

    Accessors

    • get IsWired(): boolean

      Whether a non-default adapter is currently registered. Useful for diagnostics ("are sessions actually wired up on this host?") and for features that should gate themselves on real wiring.

      Returns boolean

    Methods

    • Register the adapter that produces session events. Replaces any prior adapter and cleanly tears down the previous subscription. Typically called once at host bootstrap (e.g., Angular's ConversationsRuntimeBootstrap), but multiple swaps are supported (e.g., test harnesses that switch adapters between cases).

      Parameters

      Returns void