Skip to content

VaultTransaction.commit method

VaultTransaction › commit

Commits the transaction: finalizes soft-deletes by trashing the staged resources for real and removes the staging folder. After this the transaction can no longer be mutated or rolled back.

Signature:

commit(): Promise<void>

Returns: Promise<void>A Promise that resolves when the commit completes.