2016-12-11 14:08:58 +00:00
|
|
|
|
using System;
|
2016-12-14 19:28:17 +00:00
|
|
|
|
using System.Threading.Tasks;
|
2016-12-11 14:08:58 +00:00
|
|
|
|
|
|
|
|
|
namespace Tapeti.Config
|
|
|
|
|
{
|
|
|
|
|
public interface IMessageMiddleware
|
|
|
|
|
{
|
2016-12-14 19:28:17 +00:00
|
|
|
|
Task Handle(IMessageContext context, Func<Task> next);
|
2016-12-11 14:08:58 +00:00
|
|
|
|
}
|
|
|
|
|
}
|