2024-11-13 03:32:30 +04:00
|
|
|
using Cloud.Services.Broker.Support;
|
|
|
|
|
|
|
|
namespace Cloud.Services.Broker
|
|
|
|
{
|
|
|
|
public interface IBrokerService
|
|
|
|
{
|
2024-11-19 23:23:21 +04:00
|
|
|
Task Produce(Command command);
|
|
|
|
T? Consume<T>(string topic) where T : IBrokerResponse;
|
2024-11-13 03:32:30 +04:00
|
|
|
}
|
|
|
|
}
|