Closed stephenafamo closed 2 years ago
When using this to build a language server, I wanted to send notifications async.
Instead of passing around the context from individual methods, it made more sense to just keep the original connection.
Also, this method makes it possible to implement graceful shutdowns
Thank you! I agree, there should be more user control here.
When using this to build a language server, I wanted to send notifications async.
Instead of passing around the context from individual methods, it made more sense to just keep the original connection.
Also, this method makes it possible to implement graceful shutdowns