using System.Threading.Tasks;
// ReSharper disable UnusedMember.Global
namespace Tapeti.Transient
{
///
/// Provides a publisher which can send request messages, and await the response on a dynamic queue.
///
public interface ITransientPublisher
{
///
/// Sends a request and waits for the response with the timeout specified in the WithTransient config call.
///
///
///
///
Task RequestResponse(TRequest request) where TRequest : class where TResponse : class;
}
}