I'm having a hard time to find a simple example of using async with tokio in #rustlang I want to make something that catches signals and end the process (without killing it)
-
-
I got really great help and I almost managed to do what I wanted! Thanks! I will share the solution as soon as I have something I'm 100% sure is working as intended
-
It finally works! This how you can wrap your async app so it catches INT and TERM signals and exit gracefullypic.twitter.com/EhDHNCsYYU
- Još 1 odgovor
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.