pub(crate) fn construct(
        sys: UnboundedSender<SystemCommand>,
        arbiter: Arbiter,
        stop_on_panic: bool,
    ) -> Self {
        let sys = System {
            sys,
            arbiter,
            stop_on_panic,
            id: SYSTEM_COUNT.fetch_add(1, Ordering::SeqCst),
        };
        System::set_current(sys.clone());
        sys
    }
/// Constructs new system and sets it as current
Constructs new system and sets it as current
Constructs new system and sets it as current
pub(crate) fn construct(
        sys: UnboundedSender<SystemCommand>,
        arbiter: Arbiter,
        stop_on_panic: bool,
    ) -> Self {
        let sys = System {
            sys,
            arbiter,
            stop_on_panic,
            id: SYSTEM_COUNT.fetch_add(1, Ordering::SeqCst),
        };
        System::set_current(sys.clone());
        sys
    }
pub ( crate ) fn construct ( sys : UnboundedSender < SystemCommand > , arbiter : Arbiter , stop_on_panic : bool , ) -> Self { let sys = System { sys , arbiter , stop_on_panic , id : SYSTEM_COUNT . fetch_add ( 1 , Ordering :: SeqCst ) , } ; System :: set_current ( sys . clone ( ) ) ; sys }
Constructs new system and sets it as current
Constructs new system and sets it as current
sys
UnboundedSender<SystemCommand>
arbiter
Arbiter
stop_on_panic
bool