iink-ts - v4.0.0
    Preparing search index...

    Type Alias TCanvasConnectionState

    TCanvasConnectionState:
        | "initializing"
        | "online-idle"
        | "online-working"
        | "syncing"
        | "offline"
        | "error"

    Derived, UI-oriented connection state combining initialization, connection, offline queue, and busy/idle status. See canvas.connectionState and addConnectionStateChangedListener.

    • initializing — canvas not yet connected to the server for the first time
    • online-idle — connected, client idle
    • online-working — connected, client processing a request
    • syncing — disconnected, actively reconnecting, with strokes queued to replay
    • offline — disconnected, actively reconnecting, nothing queued yet
    • error — reconnection attempts exhausted, queued strokes were rejected