Registry / async / tea-actorx-core

tea-actorx-core

JSON →
library0.2.0-dev.22rscratesunverified

The TEA SDK core library for actor-based systems.

# Cargo.toml [dependencies] tea-actorx-core = "0.2.0-dev.22"
INSTALL
IMPORT
SIG · TEA-ACTORX-CORE
T
tea-actorx-core
asyncrustv0.2.0-dev.22
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Actor
use tea_actorx_core::Actor;

Define and use a simple actor with the TEA SDK.

use tea_actorx_core::Actor; struct MyActor; impl Actor for MyActor { type Message = String; type Response = String; fn handle(&self, msg: Self::Message) -> Self::Response { format!("Hello, {}", msg) } } fn main() { let actor = MyActor; let response = actor.handle("World".to_string()); println!("{}", response); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0-dev.22latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
44 hits · last 30 days
node
38
Amazon
1
Resources
tea-actorx-core — cargo add tea-actorx-core · libregistry