pub fn run(store: Arc<MemStore<S, P>>, kv_service: KV, receiver: Receiver<bool>) {
        let controller = Self {
            store,
            receiver,
            kv_service,
        };

        spawn(controller.inner_run());
    }
/// start the controller with ctx and receiver
start the controller with ctx and receiver
start the controller with ctx and receiver
pub fn run(store: Arc<MemStore<S, P>>, kv_service: KV, receiver: Receiver<bool>) {
        let controller = Self {
            store,
            receiver,
            kv_service,
        };
        spawn(controller.inner_run());
    }
pub fn run ( store : Arc < MemStore < S , P > > , kv_service : KV , receiver : Receiver < bool > ) { let controller = Self { store , receiver , kv_service , } ; spawn ( controller . inner_run ( ) ) ; }
start the controller with ctx and receiver
start the controller with ctx and receiver
store
Arc<MemStore<S, P>>
kv_service
KV
receiver
Receiver<bool>
store
Arc<MemStore<S, P>>
kv_service
KV
receiver
Receiver<bool>