Allow LSP to process multiple messages per poll

(cherry-picked from commit e2485044a1)
This commit is contained in:
Mikael Hermansson 2024-03-08 15:24:51 +01:00 committed by Rémi Verschelde
parent 3f1caf6640
commit 38b646ca4a
No known key found for this signature in database
GPG key ID: C3336907360768E1
4 changed files with 25 additions and 12 deletions

View file

@ -97,7 +97,7 @@ public:
_FORCE_INLINE_ Ref<GDScriptTextDocument> get_text_document() { return text_document; }
_FORCE_INLINE_ bool is_initialized() const { return _initialized; }
void poll();
void poll(int p_limit_usec);
Error start(int p_port, const IP_Address &p_bind_ip);
void stop();