waitForProperty is undefined?
See original GitHub issueUsing ember-concurrency 0.8.15
(latest)
import { task, waitForProperty } from 'ember-concurrency';
_validityChanged: task(function*() {
while (true) {
yield waitForProperty(this, "validations.isValid", value => true);
this._publishValidity();
}
}).on('init'),
Error:
rsvp.js:27 Uncaught TypeError: (0 , _emberConcurrency.waitForProperty) is not a function
at Class.<anonymous> (validated-component.js:27)
at Generator.next (<anonymous>)
at Class._resumeGenerator (-task-instance.js:431)
at Class._handleResolvedContinueValue (-task-instance.js:586)
at Class._proceed (-task-instance.js:550)
at Class._scheduleProceed (-task-instance.js:538)
at Class._start (-task-instance.js:242)
at Class._startTaskInstance (-scheduler.js:104)
at Class._flushQueues (-scheduler.js:80)
at Class.schedule (-scheduler.js:62)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:17 (14 by maintainers)
Top Results From Across the Web
Wait for property in EmberJS on "server" side - Stack Overflow
The issue with the above example is that the get('itemsList') is likely to return an undefined value, based on the data race of...
Read more >Problem with WaitProperty and WaitTime
I have a problem with WaitProperty and WaitTime. ... item, timeout){ if(timeout == undefined || timeout == "") timeout = 4000; ...
Read more >How to use the ember-concurrency.waitForQueue function in ...
To help you get started, we've selected a few ember-concurrency.waitForQueue examples, based on popular ways it is used in public projects.
Read more >Limelight XE Scripting Language Extension API
waitForProperty (), 2.2+, Waits a fixed number of milliseconds for a property value ... 'undefined') { // dump all object properties and their...
Read more >wait-for-stuff - npm
Also, if the after filtering for null and undefined values the array only contains a single element, ... wait.for.property(owner, property)
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@BryanCrotaz i believe that idea is on the cli team’s agenda
side note: ember-cli-dependency-lint can be helpful in flagging this sort of risk