##// END OF EJS Templates
Добавлена метка v3.0.6 для набора изменений 547a2fc0d93e
Добавлена метка v3.0.6 для набора изменений 547a2fc0d93e

File last commit:

r251:7c7e9ad6fe4a v3
r261:05a87f575512 v3
Show More
IProducer.cs
14 lines | 440 B | text/x-csharp | CSharpLexer
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);
}
}