File tree 1 file changed +0
-14
lines changed 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -261,13 +261,6 @@ impl Queue {
261
261
}
262
262
}
263
263
264
- /// After the specified delay, submits a closure for asynchronous execution
265
- /// on self.
266
- pub fn exec_after_ms < F > ( & self , ms : u32 , work : F )
267
- where F : ' static + Send + FnOnce ( ) {
268
- self . exec_after ( Duration :: from_millis ( ms as u64 ) , work) ;
269
- }
270
-
271
264
/// After the specified delay, submits a closure for asynchronous execution
272
265
/// on self.
273
266
pub fn exec_after < F > ( & self , delay : Duration , work : F )
@@ -494,13 +487,6 @@ impl Group {
494
487
assert ! ( result == 0 , "Dispatch group wait errored" ) ;
495
488
}
496
489
497
- /// Waits for all tasks associated with self to complete within the
498
- /// specified duration.
499
- /// Returns true if the tasks completed or false if the timeout elapsed.
500
- pub fn wait_timeout_ms ( & self , ms : u32 ) -> bool {
501
- self . wait_timeout ( Duration :: from_millis ( ms as u64 ) )
502
- }
503
-
504
490
/// Waits for all tasks associated with self to complete within the
505
491
/// specified duration.
506
492
/// Returns true if the tasks completed or false if the timeout elapsed.
You can’t perform that action at this time.
0 commit comments