1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 16:52:58 +01:00
This commit is contained in:
Rob Ede 2021-02-22 00:06:49 +00:00
parent 1c5a0a7c11
commit fd59f21281
No known key found for this signature in database
GPG Key ID: C2A3B36E841A91E6
2 changed files with 1 additions and 4 deletions

View File

@ -100,7 +100,7 @@ impl ArbiterHandle {
self.tx.send(ArbiterCommand::Stop).is_ok()
}
/// Will wait for [Arbiter] to complete all commands up until it's Stop command is processed.
/// Will wait for associated [Arbiter] to complete all commands up until it is stopped.
///
/// For [Arbiter]s that have already stopped, the future will resolve immediately.
///

View File

@ -5,15 +5,12 @@ use std::{
use actix_rt::{time, Arbiter, System};
#[test]
#[should_panic]
fn no_system_arbiter_new_panic() {
Arbiter::new();
}
#[test]
fn join_arbiter_wait_fut() {
let time = Duration::from_secs(1);