CIRCT 22.0.0git
|
Debounce tuning for document-change bursts. More...
#include <PendingChanges.h>
Static Public Member Functions | |
static DebounceOptions | fromLSPOptions (const circt::lsp::LSPServerOptions &opts) |
Factory: build from server options. Keep mapping 1:1 for clarity. | |
Public Attributes | |
bool | disableDebounce = false |
If true, flush immediately (no sleep/check). | |
uint64_t | debounceMinMs = 0 |
Minimum quiet time before we flush. | |
uint64_t | debounceMaxMs = 0 |
Maximum total burst time (0 = no cap). | |
Debounce tuning for document-change bursts.
Definition at line 35 of file PendingChanges.h.
|
static |
Factory: build from server options. Keep mapping 1:1 for clarity.
Definition at line 16 of file PendingChanges.cpp.
References circt::lsp::LSPServerOptions::debounceMaxMs, debounceMaxMs, circt::lsp::LSPServerOptions::debounceMinMs, debounceMinMs, circt::lsp::LSPServerOptions::disableDebounce, and disableDebounce.
uint64_t circt::lsp::DebounceOptions::debounceMaxMs = 0 |
Maximum total burst time (0 = no cap).
Definition at line 41 of file PendingChanges.h.
Referenced by circt::lsp::PendingChangesMap::debounceAndThen(), and fromLSPOptions().
uint64_t circt::lsp::DebounceOptions::debounceMinMs = 0 |
Minimum quiet time before we flush.
Definition at line 39 of file PendingChanges.h.
Referenced by circt::lsp::PendingChangesMap::debounceAndThen(), and fromLSPOptions().
bool circt::lsp::DebounceOptions::disableDebounce = false |
If true, flush immediately (no sleep/check).
Definition at line 37 of file PendingChanges.h.
Referenced by circt::lsp::PendingChangesMap::debounceAndThen(), and fromLSPOptions().