Beispiel #1
0
 public void OutputInt(long output)
 {
     _outputBuffer.Enqueue(output);
     if (_outputBuffer.Count >= FireEveryNbOutput)
     {
         IntOuputted?.Invoke(this, EventArgs.Empty);
     }
 }
Beispiel #2
0
 public void OutputInt(long output)
 {
     Console.WriteLine(output);
     IntOuputted?.Invoke(this, EventArgs.Empty);
 }