Skip to content
This repository was archived by the owner on Jan 20, 2020. It is now read-only.
This repository was archived by the owner on Jan 20, 2020. It is now read-only.

Make state a property that automatically calls refresh #27

Description

@Midnighter

Example: I have a stack that is in state 'Stopped'. I have a local reference to that stack in the variable stack. I call stack.start(). The state is now indefinitely 'Starting' until I call .refresh(). It's simple to call refresh but it'd be even easier to make state a @property that calls refresh before reporting its (new) value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions