Is it necessary to wait after startServer()? #783
-
Hi everyone :) , Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @AlphonsusNguyen actually there isn't yet an asynchronous way to get notified when the server is up and ready. |
Beta Was this translation helpful? Give feedback.
Hi @AlphonsusNguyen actually there isn't yet an asynchronous way to get notified when the server is up and ready.
I'll provide it in the future, but as today you can sleep (the startup it's really fast) or you could ping the MQTT interface with a polling client that tries to connect.