Sergey Greenko
Sergey Greenko
Added third parameter to withStateHandlers to allow better control over event handling (persistance and propagation) and over result passed to setState (either object or function). Second parameter left for backwards...
It is mentioned in many places that `expect` function accepts message as a second parameter. But it would be better if parameters of expect were documented explicitly at the beginning...
I have a situation at Night when Light robot had 0 power and had "Pickup 100 energy" action in the queue. Factory has 568 power. Only one other light robot...