Ector is an open source async, no-alloc actor framework for embedded devices.
Ector is an open source async, no-alloc actor framework for embedded devices. It integrates with embassy, the embedded async project.
Actor System
An actor system is a framework that allows for isolating state within narrow contexts, making it easier to reason about system. Within a actor system, the primary component is an Actor, which represents the boundary of state usage. Each actor has exclusive access to its own state and only communicates with other actors through message-passing.
Example
use *;
/// A Counter that we wish to create an Actor for.
// The message our actor will handle.
;
/// An Actor implements the Actor trait.
Building
To build ector
, you must install the nightly rust toolchain. Once
installed, you can build and test the framework by running
cargo test
Directory layout
ector
- an actor frameworkmacros
- macros used by drogue-device and application code
Contributing
See the document CONTRIBUTING.md.
Community
- Drogue IoT Matrix Chat Room
- We have bi-weekly calls at 9:00 AM (GMT). Check the calendar to see which week we are having the next call, and feel free to join!
- Drogue IoT Forum
- Drogue IoT YouTube channel
- Follow us on Twitter!