-
-
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
@computed
anywhere but thenumResultsTask
function using@task
fromember-concurrency
Steps to Reproduce
- Install ember-concurrency
ember install ember-concurrency
- Use
@task
for a function eg:
@task({ maxConcurrency: 1, restartable: true }) *numResultsTask(searchContext) { // do something with searchContext }
Metadata
Metadata
Assignees
Labels
No labels