pub fn new(rt: Arc<Runtime>, addr: &Address, tx: Sender<NodeMessage>) -> Context {
        // Create a new Mailbox and Context
        let (mb_tx, mb_rx) = channel(32);
        let mb = Mailbox::new(mb_rx, mb_tx);

        Context::new(rt, tx, addr.into(), mb)
    }
/// Create and register a new NullWorker context
Create and register a new NullWorker context
Create and register a new NullWorker context
pub fn new(rt: Arc<Runtime>, addr: &Address, tx: Sender<NodeMessage>) -> Context {
        // Create a new Mailbox and Context
        let (mb_tx, mb_rx) = channel(32);
        let mb = Mailbox::new(mb_rx, mb_tx);
        Context::new(rt, tx, addr.into(), mb)
    }
pub fn new ( rt : Arc < Runtime > , addr : & Address , tx : Sender < NodeMessage > ) -> Context { // Create a new Mailbox and Context let ( mb_tx , mb_rx ) = channel ( 32 ) ; let mb = Mailbox :: new ( mb_rx , mb_tx ) ; Context :: new ( rt , tx , addr . into ( ) , mb ) }
Create and register a new NullWorker context
Create and register a new NullWorker context
rt
Arc<Runtime>
addr
&Address
tx
Sender<NodeMessage>