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

Fix this is undefined in benchmark.js #526

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ombr
Copy link

@ombr ombr commented Apr 27, 2023

Benchmark task-modifier was not working out of the box on my tasks. I had to make sure we are using the right this. I was inspired by what is done in ember-concurrency-retryable:

https://github.com/maxfierke/ember-concurrency-retryable/blob/4b18ccc073872d8a7592c4f1eb6c17461938334b/addon/-private/retryable-task-instance.js#L72

Benchmark task-modifier was not working out of the box on my tasks. I had to make sure we are using the right this.
I was inspired by what is done in ember-concurrency-retryable:

https://github.com/maxfierke/ember-concurrency-retryable/blob/4b18ccc073872d8a7592c4f1eb6c17461938334b/addon/-private/retryable-task-instance.js#L72
@machty
Copy link
Owner

machty commented Feb 4, 2024

I am interested in merging this... if you have time could you "rebase" against master? You'd have to move the code changes to the packages/test-app folder.

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.

None yet

2 participants