-
-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
Expected Behavior
- I expected the addon to work with my app
Actual Behavior
- The app errors with this message:
Error: Assertion Failed: @computed can only be used on accessors or fields, attempted to use it with numResultsTask but that was a method. Try converting it to a getter (e.g.get numResultsTask() {})- I am not using
@computedanywhere but thenumResultsTaskfunction using@taskfromember-concurrency
Steps to Reproduce
- Install ember-concurrency
ember install ember-concurrency - Use
@taskfor a function eg:
@task({ maxConcurrency: 1, restartable: true }) *numResultsTask(searchContext) { // do something with searchContext }
Metadata
Metadata
Assignees
Labels
No labels