Uses dual contexts to handle stopping using a timed context, and also terminating the entire process loop if the parent context gets canceled.
5.6 KiB
5.6 KiB
Uses dual contexts to handle stopping using a timed context, and also terminating the entire process loop if the parent context gets canceled.