-
-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Description
A possible use case I was thinking about is using a notification popup to show the status of the LSP startup progress.
E.g at first "LSP Started" and then it would update to show the progress of the background indexing.
I'm not sure if something like that would already be possible?
I could think about two possible interfaces:
- Add a "key" in opts and only allow these keys to be unique, thus a 2nd call to notify with the same key will update the old notification and reset the timeout
- have
notify()return a function that can be called to update the notification and reset timeout
WDYT, @rcarriga, does any of the above sound reasonable to you?
camilledejoye, kevinhwang91, vogelsgesang, Aetf and SongTianxian9kevinhwang91
Metadata
Metadata
Assignees
Labels
No labels