@yorkie-js/sdk
    Preparing search index...

    Type Alias PanelToSDKMessage

    PanelToSDKMessage:
        | { msg: "devtools::connect" }
        | { msg: "devtools::disconnect" }
        | { docKey: string; msg: "devtools::subscribe" }

    PanelToSDKMessage is a message sent from the Devtools panel to the SDK.

    Type Declaration

    • { msg: "devtools::connect" }

      Informs the SDK that the panel is available.

    • { msg: "devtools::disconnect" }

      Informs the SDK that the panel is not available.

    • { docKey: string; msg: "devtools::subscribe" }

      Informs the SDK that the panel is interested in receiving the "event" for the document, starting with the initial "full sync" event.