##// END OF EJS Templates
sync
sync

File last commit:

r289:95896f882995 v3.0.14 v3
r291:450a55e0c222 v3
Show More
IConsumer.cs
11 lines | 262 B | text/x-csharp | CSharpLexer
cin
Added tests for Implab.ServiceHost.Unity configuration loader.
r289 using System.Threading;
using System.Threading.Tasks;
namespace Implab.Messaging {
public interface IConsumer<T> {
T Receive(CancellationToken ct);
Task<T> ReceiveAsync(CancellationToken ct);
bool TryReceive(out T message);
}
}