Skip to content

Commit

Permalink
Remove obsolete doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ark0f committed Nov 30, 2023
1 parent 1578713 commit 331d167
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions examples/async-critical/src/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

//! 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::*};

Expand Down

0 comments on commit 331d167

Please sign in to comment.