IFClite TypeScript API
    Preparing search index...

    Function createCollabDoc

    • Create a fresh, empty Y.Doc with the spec's top-level shared types.

      Idempotent: calling getMap twice returns the same shared type, so this is safe to call on an already-populated doc as well.

      Parameters

      • Optionalopts: { gc?: boolean }

      Returns Doc