From d99446e3d5526fd540f6e4bb387b24c0abe3a204 Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Mon, 17 Apr 2023 10:03:47 +0100 Subject: [PATCH] Ensure DiagnosticListener is on IBufferedChannel (#29) --- src/Elastic.Channels/BufferedChannelBase.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Elastic.Channels/BufferedChannelBase.cs b/src/Elastic.Channels/BufferedChannelBase.cs index e313bf8..f20370c 100644 --- a/src/Elastic.Channels/BufferedChannelBase.cs +++ b/src/Elastic.Channels/BufferedChannelBase.cs @@ -40,6 +40,9 @@ public interface IBufferedChannel : IDisposable /// Tries to write many to the channel returning true if ALL messages were written succesfully /// bool TryWriteMany(IEnumerable events); + + /// + IChannelDiagnosticsListener? DiagnosticsListener { get; } } ///