Manual Instant Sync

Q: How can I disable automatic synchronization with Document Engine when using Instant?

A: You need to disable auto-save, listening to server changes and clients presence tracking in configuration:

return PSPDFKit.load({
    instant: {
        // Don't pull changes from Document Engine automatically.
        listenToServerChangesEnabled: false,
        // Disable clients presence tracking. `instance.connectedClients` 
        // method and `instant.connectedClients.change` event won't be available.
        clientsPresenceEnabled: false
    },
    // Disable automatic saving of local changes.
    autoSaveMode: PSPDFKit.AutoSaveMode.DISABLED,
    ...
})
return PSPDFKit.load({
    instant: {
        // Don't pull changes from Document Engine automatically.
        listenToServerChangesEnabled: false,
        // Disable clients presence tracking. `instance.connectedClients` 
        // method and `instant.connectedClients.change` event won't be available.
        clientsPresenceEnabled: false
    },
    // Disable automatic saving of local changes.
    autoSaveMode: PSPDFKit.AutoSaveMode.DISABLED,
    ...
})

You can then use PSPDFKit.Instance#save to sync changes manually whenever you want.

Read more about these options in Automatic and Manual Syncing and Listening for Clients Updates guides.