-
Notifications
You must be signed in to change notification settings - Fork 176
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
Add Lwt_preemptive.run_in_main_no_wait #960
Add Lwt_preemptive.run_in_main_no_wait #960
Conversation
Side note: personally i ended up using |
Thanks for the contribution! I have just quickly read the diff and it looks good. I will test the feature soon and then merge. |
1260518
to
ed0ba82
Compare
Considering the following changes:
I'll do that soon. Unless anyone have comments/remarks/etc. on the matter? |
ed0ba82
to
648723c
Compare
I implemented the two things I mention above and also rebased |
@kit-ty-kate are you ok with the new interface? Does it work for your use-case? |
Looks good by me. |
Useful if you want
Lwt_preemptive.run_in_main
but does not need to wait for the result of the function to finish.