Crate may_actor [] [src]

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

Actor

coroutine based Actor.

DriverActor

parameter used in driver coroutine function