using System.Threading.Channels;
using ZB.MOM.WW.MxGateway.Contracts.Proto;
namespace ZB.MOM.WW.MxGateway.Server.Sessions;
///
/// A registration lease into a . Exposes the
/// subscriber's own of fanned events. Disposing the
/// lease unregisters the subscriber and completes its channel without disturbing the
/// pump or other subscribers.
///
public interface IEventSubscriberLease : IDisposable
{
///
/// Gets the reader for this subscriber's fanned event channel.
///
ChannelReader Reader { get; }
}