package com.atlassian.bitbucket.mesh.transaction;

import com.atlassian.bitbucket.mesh.rpc.v1.RpcTransaction;

import javax.annotation.Nonnull;

/**
 * Applies a recorded {@link RpcTransaction transaction}
 */
public interface RpcTransactionExecutor {

    /**
     * @param transaction the transaction to execute
     */
    void execute(@Nonnull RpcTransaction transaction);
}
