@audiotool/nexus - v0.0.12
    Preparing search index...

    Function createOfflineDocument

    • Create a nexus document that is not synced to the backend; all changes are discarded on reload/shutdown.

      The returned document is ready to be modified immediately and can be thrown away without calling start/stop.

      To create a document that is synced with a state from the backend/DAW, use AudiotoolClient.createSyncedDocument.

      Parameters

      • Optionalopts: { validated?: boolean }
        • Optionalvalidated?: boolean

          Whether validation is enabled. Turning that off results in fewer transaction errors, but can lead to invalid states.

      Returns Promise<OfflineDocument>