protected internal override void Log(string message) { lock (_syncRoot) { _buffer.Enqueue(message); _debouncer.Debounce(WriteEnqueued); ++Sucesses; } }
public void UpdateDebounce() { ShowRefresh = true; _ = debouncer.Debounce("priceview", async() => await UpdateQuery(), delayUpdate: (countdown) => { UpdateCountdown = (int)Math.Round((decimal)countdown / 1000); }); }