Expand description
Typing debounce for editor plugins.
Provides a centralized debounce mechanism via FFI so all editor plugins (JetBrains, VS Code, Neovim, Zed) share identical timing logic.
Plugins call document_changed() on every document edit, and
await_idle() before submitting to wait for typing to settle.
Functionsยง
- await_
idle - Block until the document has been idle for
debounce_ms, ortimeout_msexpires. - document_
changed - Record a document change event for the given file.
- is_idle
- Check if the document has been idle (no changes) for at least
debounce_ms.