-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Move to an async first API #770
Conversation
You might want to check #757. Seems related. |
So this was an experiment to see is i could get it all working in an async manner. There are still a few more items to do, but i think this stands as a proof of concept. Why:
So yes i think this should be merged, and think is should be the approach used in the next major of Bunit |
note i took a few liberties to get it building on my machine. if you decide to accept this approach. i will clean them up |
Ok, we have a few major things right now planned for v2 (code will live in the
The last point is related to what you are doing, but I have started with building and updating DOM directly, since that will have the biggest impact on the I appreciate your efforts, but won't promise we'll take this PR as is and merge it. But we'll definitely look through it and see what changes you have made and include the parts we can reuse. |
Does this still happen with the latest release? If so, I would appreciate it if you can run your test in CI with the --blame-dump switches (see our verification workflow) and save any dumps you get so we can investigate and fix these issues for V1 as well. This dump files allows me to see the exact place where two or more threads are stuck and usually gives me a good idea for how to fix it. |
Im going to close this Simon. Thanks for your suggestions and input on this. For V2 of bUnit, which are in the works, there will be async APIs added where it makes sense. In particular, there will be async Render/RenderComponent methods as well as event handler trigger methods such as Click, where the behavior will be adjusted to work better. Once the V2 branch have these changes, we'll see about back porting them to V1, if that's possible to do in a non-breaking manner. |
No description provided.