Member Junction
    Preparing search index...

    The client's view of when its session must end — the CLIENT half of a limit the server enforces authoritatively (the janitor closes a session past its stored deadline whatever a client does).

    The client keeps a copy so it can end the call gracefully before the server does, and show a countdown. It follows one rule: the server's word moves the deadline only later when it arrives as an extension (identity verification relaxes a session's limits) — a stale or hostile value can therefore never cut a session short here, and nothing a client does with this class extends the server's deadline.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    Deadline$: Observable<Date | null> = ...

    Emits the current deadline (or null when none is known), then every change.

    Accessors

    Methods

    • Applies a server-announced deadline: adopted when none is known or when it is LATER than the one held; ignored when earlier, equal or unparseable. Returns whether the deadline changed.

      Parameters

      • deadlineIso: string | undefined

      Returns boolean

    • Sets the baseline deadline outright (a host that knows the session's cap at start). null clears it.

      Parameters

      • deadline: Date | null

      Returns void