myrmic-sdk 0.7.0

SDK for writing Myrmic cells (WASM modules deployed and managed by the sorg infrastructure): host function bindings for db, tap, outlet, gpio, ble, gateway, cell messaging, logging and time, plus the #[cmd]/#[monitor] export macros.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Module containing the host functions required to implement cell modules according to the SCCA system architecture.

mod commands;
mod events;
mod spawning;
mod timers;

pub use commands::{CommandError, send_command};
pub use events::publish_event;
pub use myrmic_common::cells::{ClassRef, SpawnError, SpawnRequest, TerminateError};
pub use spawning::{ClassHandle, SpawnBuilder, spawn_cell, stop_self, terminate_cell};
pub use timers::{TimerHandle, delay, interval, interval_at};