From f9ea837f687feb85bddcad982cefac3dd14ff9f8 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Wed, 29 May 2024 11:37:59 +0200 Subject: [PATCH] Added documentation --- FastRng/MultiChannelRng.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FastRng/MultiChannelRng.cs b/FastRng/MultiChannelRng.cs index 2eaa0b5..d3d9abd 100644 --- a/FastRng/MultiChannelRng.cs +++ b/FastRng/MultiChannelRng.cs @@ -150,13 +150,15 @@ public sealed class MultiChannelRng : IRandom, IDisposable where TNu #region Implementation of IDisposable private void StopProducer() => this.producerTokenSource.Cancel(); - + + /// public void Dispose() => this.StopProducer(); #endregion #region Implementation of IRandom + /// public TNum GetUniform(CancellationToken cancel = default) { var valueTask = this.channelFloats.Reader.ReadAsync(cancel);