Skip to content

whenStable is ambiguous and can result in misuse #6

@alexdoth

Description

@alexdoth

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions