save

abstract fun save(snapshot: SerializedAgentProcessSnapshot, expectedVersion: Long? = null): StoredSnapshotMetadata

Save a new or updated snapshot.

Throws

if the expected version does not match the stored version.