matrix-js-sdk
    Preparing search index...

    Function isValidStickyTtl

    • Experimental

      Check whether a value is a valid sticky TTL, i.e. a non-negative integer. Values above MAX_STICKY_DURATION_MS are permitted. Callers should clamp them separately.

      Parameters

      • value: unknown

        The remaining sticky duration computed by the HS on sync (unsigned) in milliseconds.

        Part of MSC4354.

      Returns value is number