mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-23 20:51:06 +01:00
fmt
This commit is contained in:
parent
1c5a0a7c11
commit
fd59f21281
@ -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.
|
||||
///
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user