diff --git a/tfclient/src/nebulaworker_inert.rs b/tfclient/src/nebulaworker_inert.rs index e356183..e27a5f9 100644 --- a/tfclient/src/nebulaworker_inert.rs +++ b/tfclient/src/nebulaworker_inert.rs @@ -12,4 +12,18 @@ pub enum NebulaWorkerMessage { WakeUp, } -pub fn nebulaworker_main(_config: TFClientConfig, _instance: String, _transmitter: ThreadMessageSender, _rx: Receiver) {} \ No newline at end of file +pub fn nebulaworker_main(_config: TFClientConfig, _instance: String, _transmitter: ThreadMessageSender, rx: Receiver) { + loop { + match rx.recv() { + Ok(msg) => match msg { + NebulaWorkerMessage::WakeUp => { + continue; + }, + NebulaWorkerMessage::Shutdown => { + break; + } + _ => () + } + } + } +}