package de.effigenix.shared.persistence;

import de.effigenix.shared.common.Result;

import java.util.function.Supplier;

public interface UnitOfWork {
    <E, T> Result<E, T> executeAtomically(Supplier<Result<E, T>> work);
}
