Added documentation
This commit is contained in:
		
							parent
							
								
									8ade2f5a5d
								
							
						
					
					
						commit
						f9ea837f68
					
				@ -151,12 +151,14 @@ public sealed class MultiChannelRng<TNum> : IRandom<TNum>, IDisposable where TNu
 | 
			
		||||
 | 
			
		||||
    private void StopProducer() => this.producerTokenSource.Cancel();
 | 
			
		||||
 | 
			
		||||
    /// <inheritdoc />
 | 
			
		||||
    public void Dispose() => this.StopProducer();
 | 
			
		||||
 | 
			
		||||
    #endregion
 | 
			
		||||
 | 
			
		||||
    #region Implementation of IRandom<TNum>
 | 
			
		||||
 | 
			
		||||
    /// <inheritdoc />
 | 
			
		||||
    public TNum GetUniform(CancellationToken cancel = default)
 | 
			
		||||
    {
 | 
			
		||||
        var valueTask = this.channelFloats.Reader.ReadAsync(cancel);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user