score:0

You certainly could use it like that if you want to, I see no direct problem with it. It all depends on your exact use case though.

In general switching a state is as expensive as an Actor#become, which may be little or much – depending on your access patterns.


Related Query

More Query from same tag