samira-t/setak — Issue #6: whenStable is ambiguous and can result in misuse
Author: alexdoth
Created: 2012-01-22 04:06:05+00:00
State: open

The whenStable api call provides a nice way to wait for the actor system to become stable.
Unfortunately an actor might schedule messages to be invoked at some later point like so

```
Scheduler.scheduleOnce(self, Message, 1, TimeUnit.SECONDS)
```
Of course there are other ways to make the system unstable, such as messages sent dynamically on intervals.
Unless there is a way to find out if the system can get stable, the whenStable method call can be easily misinterpreted.