Class TransactionCompletion
Callbacks that run when an explicit redb transaction () ends, with whether it
committed. The provider transaction classes report the outcome once; the props and list caches use it to
publish what a transaction loaded only after its commit (). Entries are
held weakly by the transaction: a transaction nobody completes leaves nothing behind.
public static class TransactionCompletion
Inheritance
Methods
Completed(IRedbTransaction, bool)
Called by the transaction once, after it committed or rolled back.
public static void Completed(IRedbTransaction transaction, bool committed)
Register(IRedbTransaction, Action<bool>)
Runs onCompleted with true when the transaction commits, false when it ends any other way.
public static void Register(IRedbTransaction transaction, Action<bool> onCompleted)