Skip to content

commit

In std/io/transaction.

effectful fn commit<T>(self, value: T) : Never

Ends the attempt by committing it, with value as the scope's ok. Written only to commit before the end of the block: tx.commit(0) given nothing_to_do.