tide
tide copied to clipboard
Proposal: Cancellation
Related issue: #528
Related pull request: #766
I made StopSource
and StopToken
types similar to the API described in https://github.com/yoshuawuyts/notes/blob/7ecb13a9999ae1fccd366ef0e246be5ca78867c0/rust/cancellation.md and used in tcp_listener
and unix_listener
modules.
But I'm not sure it actually 'gracefully' shuts down the server...