Module progress

Module progress 

Source
Expand description

LSP Work Done Progress protocol support for loading indicators.

Implements the window/workDoneProgress protocol to show registry fetch progress in the editor UI.

§Protocol Flow

  1. window/workDoneProgress/create - Request token creation
  2. $/progress with WorkDoneProgressBegin - Start indicator
  3. $/progress with WorkDoneProgressReport - Update progress (optional)
  4. $/progress with WorkDoneProgressEnd - Complete indicator

§Drop Behavior

If dropped without calling end(), spawns a cleanup task to send the end notification. This is best-effort - the task may not complete if the runtime is shutting down.

Structs§

RegistryProgress
Progress tracker for registry data fetching.