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