We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea3673b commit 8c50e7fCopy full SHA for 8c50e7f
1 file changed
src/utils.rs
@@ -74,7 +74,8 @@ where
74
let mut interval =
75
tokio::time::interval(Duration::from_millis(SIGNAL_CHECK_INTERVAL_MS));
76
77
- // Pin the future to the stack
+ // tokio::pin!(f) ensures we can select! between the future
78
+ // and interval.tick() without moving f.
79
tokio::pin!(f);
80
81
loop {
0 commit comments