Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add waitForProperty() #205

Merged
merged 2 commits into from
Feb 22, 2018
Merged

Add waitForProperty() #205

merged 2 commits into from
Feb 22, 2018

Conversation

machty
Copy link
Owner

@machty machty commented Feb 15, 2018

This uses observes to wait for properties to
become a certain value before execution continues.

This uses observes to wait for properties to
become a certain value before execution continues.
* a truthy value from the callback, or the current task is canceled.
*
* ```js
* import { task, timeout, waitForProperty } from 'ember-concurrency';
Copy link

@sly7-7 sly7-7 Feb 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think timeout is not needed here

@machty machty merged commit 9eed386 into master Feb 22, 2018
@machty machty deleted the wait-for-property branch February 22, 2018 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants