diff --git a/asynchronix/examples/external_input.rs b/asynchronix/examples/external_input.rs index 8aeb609..22877b9 100644 --- a/asynchronix/examples/external_input.rs +++ b/asynchronix/examples/external_input.rs @@ -79,7 +79,7 @@ impl Listener { } /// Periodically scheduled function that processes external events. - pub async fn process(&mut self) { + async fn process(&mut self) { loop { if let Ok(message) = self.rx.try_recv() { self.message.send(message).await;