This package should be rebuilt from scratch around the mantle asynchronous framework. This would allow to work on each actor as if it were synchronous, thus creating a simple architecture.
Actor interface
interface Actor
{
public function __invoke(Receive $receive): Receive;
}
Overhaul
This package should be rebuilt from scratch around the
mantle
asynchronous framework. This would allow to work on each actor as if it were synchronous, thus creating a simple architecture.Actor interface
This style allows for a more declarative approach and may help optimize the system by not calling the
callable
s when declared.