##// END OF EJS Templates
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)...
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete) Implab.ServiceHost: rewritten TypeReference (added support for nested types), stable API

File last commit:

r251:7c7e9ad6fe4a v3
r278:6691aff01de1 v3
Show More
IConsumer.cs
11 lines | 262 B | text/x-csharp | CSharpLexer
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);
}
}