Skip to content

Commit d99446e

Browse files
authored
Ensure DiagnosticListener is on IBufferedChannel (#29)
1 parent 20bfbed commit d99446e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Elastic.Channels/BufferedChannelBase.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ public interface IBufferedChannel<in TEvent> : IDisposable
4040
/// Tries to write many <paramref name="events"/> to the channel returning true if ALL messages were written succesfully
4141
/// </summary>
4242
bool TryWriteMany(IEnumerable<TEvent> events);
43+
44+
/// <inheritdoc cref="IChannelDiagnosticsListener"/>
45+
IChannelDiagnosticsListener? DiagnosticsListener { get; }
4346
}
4447

4548
/// <summary>

0 commit comments

Comments
 (0)