##// END OF EJS Templates
sync
sync

File last commit:

r289:95896f882995 v3.0.14 v3
r291:450a55e0c222 v3
Show More
IProducer.cs
14 lines | 440 B | text/x-csharp | CSharpLexer
cin
Added tests for Implab.ServiceHost.Unity configuration loader.
r289 using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Implab.Messaging {
public interface IProducer<T> {
void PostMessage(T message, CancellationToken ct);
Task PostMessageAsync(T message, CancellationToken ct);
void PostMessages(IEnumerable<T> messages, CancellationToken ct);
Task PostMessagesAsync(IEnumerable<T> messages, CancellationToken ct);
}
}