Mercurial > pub > ImplabNet
view Implab/Messaging/IConsumer.cs @ 264:3a6e18c432be v3
Added XmlToJson xsl transformation.
Added JsonXmlReader.CreateJsonXmlReader(...) methods
Added SerializationHelpers.SerializeJson/DeserializeJson methods
author | cin |
---|---|
date | Mon, 16 Apr 2018 18:43:49 +0300 |
parents | 7c7e9ad6fe4a |
children |
line wrap: on
line source
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); } }