Datalayer Desktop - v0.0.2
    Preparing search index...
    • Creates a Desktop Loro provider for collaborative editing. This factory matches the signature expected by LoroCollaborationPlugin: (id: string, docMap: Map<string, LoroDoc>, websocketUrl?: string) => Provider

      Parameters

      • id: string

        Unique identifier for this provider (usually document ID)

      • docMap: Map<string, LoroDoc<Record<string, Container>>>

        Map of document IDs to LoroDoc instances (managed by plugin)

      • OptionalwebsocketUrl: string

        WebSocket server URL

      Returns Provider

      Provider instance for managing collaboration