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

Try to use goja#AsyncContextTracker #3392

Open
mstoykov opened this issue Oct 13, 2023 · 0 comments
Open

Try to use goja#AsyncContextTracker #3392

mstoykov opened this issue Oct 13, 2023 · 0 comments
Labels
evaluation needed proposal needs to be validated or tested before fully implementing it in k6 js-compat

Comments

@mstoykov
Copy link
Contributor

Why?

As explained in #2728 group doesn't work with async functions (or execution).

This is not specific to group - anything that keeps state has problems with keeping that state in async execution.

This is more explored in the issue above and in this tc39 proposal.

What?

As the problem is so generic and was already kind of tried to be fixed for group in #2863 the point of this is to have a little bit mroe generic solution akin to the one in the tc39 proposal above.

This is a research task trying to make that possible and then make it possible to implement a group like API for async functions.

Probably after #2869 is also fixed.

The two issues though are orhogonal.

This can also be though of as continuation of #884

@mstoykov mstoykov added js-compat evaluation needed proposal needs to be validated or tested before fully implementing it in k6 labels Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
evaluation needed proposal needs to be validated or tested before fully implementing it in k6 js-compat
Projects
None yet
Development

No branches or pull requests

1 participant