Member Junction
    Preparing search index...

    What happens as the deadline approaches. Both fields are optional; see the defaults on ClientSessionDeadline.Options.

    interface SessionDeadlineOptions {
        autoEnd?: boolean;
        warnBeforeMs?: readonly number[];
    }
    Index

    Properties

    autoEnd?: boolean

    Whether the host intends the session to end when the deadline is reached. The class never ends a session itself; it only carries the flag for the runtime. Default true.

    warnBeforeMs?: readonly number[]

    Offsets, in ms before the deadline, at which Warning$ fires once each. Default none.