Skip to content

wc3tools/flo-state

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flo-state

Lightweight actor library inspired by actix and xactor.

See tests/integration_test.rs for usage example.

Why

The lifecycle of Addr<T> of other actor frameworks is equivalent to Arc<T>, which doesn't work well with RAII.

flo-state distinguishes between Owner<T> and Addr<T>, and when Owner<T> is dropped, all related Addr<T>s and the associated spawned tasks are cancelled deterministically.

Releases

No releases published

Packages

No packages published

Languages