Function createDoc

  • A convenience wrapper around DocumentManager.createDoc for creating a new document.

    Parameters

    • Optional connectionString: string

      A connection string (starting with ys:// or yss://) referring to a y-sweet server.

    Returns Promise<DocCreationResult>

    A DocCreationResult object containing the ID of the created document.

Generated using TypeDoc