Generate a changeset containing all changes recorded by the session.
A Uint8Array containing the changeset data.
Close the session and release its resources.
Generate a patchset containing all changes recorded by the session.
A Uint8Array containing the patchset data.
Close the session and release its resources. Repeated disposal is a no-op.