diff --git a/examples/async-critical/src/wasm.rs b/examples/async-critical/src/wasm.rs index 97d23faaf09..6a23b03b175 100644 --- a/examples/async-critical/src/wasm.rs +++ b/examples/async-critical/src/wasm.rs @@ -16,16 +16,6 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! The program demonstrates asynchronous execution and -//! how to use macros `gstd::async_init`/`gstd::async_main`. -//! -//! `Init` method gets three addresses, sends "PING" messages -//! to them and waits for at least two replies with any payload ("approvals"). -//! -//! `Handle` processes only "PING" messages. When `handle` gets such message -//! it sends empty requests to the three addresses and waits for just one approval. -//! If an approval is obtained the method replies with "PONG". - use crate::HandleAction; use gstd::{critical, exec, msg, prelude::*};