matrix-js-sdk

    Enumeration RoomKeyRequestState

    possible states for a room key request

    The state machine looks like:


    | (cancellation sent)
    | .-------------------------------------------------.
    | | |
    V V (cancellation requested) |
    UNSENT -----------------------------+ |
    | | |
    | | |
    | (send successful) | CANCELLATION_PENDING_AND_WILL_RESEND
    V | Λ
    SENT | |
    |-------------------------------- | --------------'
    | | (cancellation requested with intent
    | | to resend the original request)
    | |
    | (cancellation requested) |
    V |
    CANCELLATION_PENDING |
    | |
    | (cancellation sent) |
    V |
    (deleted) <---------------------------+
    Index

    Enumeration Members

    CancellationPending: 2

    reply received, cancellation not yet sent

    CancellationPendingAndWillResend: 3

    Cancellation not yet sent and will transition to UNSENT instead of being deleted once the cancellation has been sent.

    Sent: 1

    request sent, awaiting reply

    Unsent: 0

    request not yet sent

    MMNEPVFCICPMFPCPTTAAATR