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);