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

A prototype inclusion of effect handling into the Lwt_main.run function #961

Closed
wants to merge 3 commits into from

Conversation

raphael-proust
Copy link
Collaborator

@raphael-proust raphael-proust commented Sep 9, 2022

Using two schedulers at the same time doesn't really work. Even when they're not really schedulers! And so it's unsurprising that effects and Lwt don't mix well. See this experiment for an example of where it breaks down.

This PR is a prototype to allow users to pass an effect handler to the Lwt_main.run function which in turn installs it around the appropriate calls.

@raphael-proust
Copy link
Collaborator Author

This is an experimental branch. Closing the PR. Anyone interested in these experiments, feel free to ping me.

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.

1 participant