You are right, changing AsyncState from actor to class was simply making the access synchronous rather than async.
Likewise, if getX() is not async, the compiler does not crash.
You are right, changing AsyncState from actor to class was simply making the access synchronous rather than async.
Likewise, if getX() is not async, the compiler does not crash.