Crate may_actor

source ·
Expand description

§may_actor

rust native actor library based on may

§Features

  • run closure asynchronously by send message (Actor.call)
  • run closure synchronously with the actor’s internal state (Actor.with)
  • convert from raw instance reference to Actor (Actor.from)
  • allow panic inside a closure message

§Notice

This simple library doesn’t support spawn actors across processes

Structs§

  • coroutine based Actor.
  • parameter used in driver coroutine function