You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 the numResultsTask function using @task from ember-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 }
The text was updated successfully, but these errors were encountered:
Expected Behavior
Actual Behavior
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() {})
@computed
anywhere but thenumResultsTask
function using@task
fromember-concurrency
Steps to Reproduce
ember install ember-concurrency
@task
for a function eg:@task({ maxConcurrency: 1, restartable: true }) *numResultsTask(searchContext) { // do something with searchContext }
The text was updated successfully, but these errors were encountered: