-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fix: Issues with using a websocket k6 typescript enum type #4623
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: Issues with using a websocket k6 typescript enum type #4623
Conversation
To allow error handling, a parameter is added to eventLoop to define whether it should wait for callback functions Signed-off-by: Fernando-hub527 <[email protected]>
Signed-off-by: Fernando-hub527 <[email protected]>
Signed-off-by: Fernando-hub527 <[email protected]>
Signed-off-by: Fernando-hub527 <[email protected]>
Signed-off-by: Fernando-hub527 <[email protected]>
|
Hey @Fernando-hub527 👋🏻 Thanks for putting the time and effort in doing this. I've commented on the original issue, and will wait for an answer there before considering reviewing and merging this 🙇🏻 |
Signed-off-by: Fernando-hub527 <[email protected]>
|
Hey @Fernando-hub527 👋🏻 Apologies for the delay, but after clarifications in the issue, it seems this PR is not needed, as it was found out that EventName was really a concept there to support the DefinitelyTyped type definitions, and shouldn't be introduced in the Go code itself. As far as we can tell anyway. I'll close this, but feel free to reopen in the future if relevant, and thanks a lot again for your contribution nonetheless 🙇🏻 |
What?
Ensure that all enums that can be used in the WebSocket module are correctly mapped.
Why?
According to issue #4540 , when using 'EventName.Open' in the script, an error was returned indicating that 'open' was undefined.
Checklist
make check) and all pass.Checklist: Documentation (only for k6 maintainers and if relevant)
Please do not merge this PR until the following items are filled out.
Related PR(s)/Issue(s)
#4540