H5P NodeJS Library
    Preparing search index...

    Main entry point into the share-state functionality.

    This class opens a Websocket on the server to which clients can connect to and send ops via ShareDB to modify the shared state. The shared state validates the changes against the library schema, propagates them to the other connected clients and persists the state.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Call this method when a content object is deleted or changed in the host system. This will delete the state from the system (and also notify users who are currently connected)

      Parameters

      • contentId: string

      Returns Promise<void>