Method OnCompleted(IRedbContext, Action<bool>)
Runs onCompleted with whether the transaction committed once the context's transaction
ends. Returns false, running nothing, when the context is in no transaction.
public static bool OnCompleted(IRedbContext context, Action<bool> onCompleted)