Skip to content

reem/rust-actor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actor

Independent Actors and communication between them

Overview

A type-directed approach to handling Actors running on different threads and communication between them through a Distributor kept in task local storage.

Uses rust-typemap internally to allow for completely type-directed dispatch from any thread that is appropriately spawned.

Example

// In an Actor or a thread spawned by actor::spawn
let parsed = Message::new(raw).send::<Parser>();

Through the use of type-directed dispatch, the Message is automatically routed to the Parsed Actor from any actor task and without any additional user input.

About

Actors in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages