Applies a function to each open transaction in a cache.
(defgeneric map-transactions (cache function) (:documentation "Applies a function to each open transaction in a cache."))