You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to encapsulate two methods, start() and stop(), to control the startup and shutdown of the FTP service, but it seems that I can only start it. How can I implement stop()?
The text was updated successfully, but these errors were encountered:
Hi @leo-je , to strop you can provide a Future to the shutdown_indicator method on Server. You future should then resolve when your stop method is called.
Here is an example in unFTP where we resolve this future when a message is received on a channel.
I want to encapsulate two methods, start() and stop(), to control the startup and shutdown of the FTP service, but it seems that I can only start it. How can I implement stop()?
The text was updated successfully, but these errors were encountered: