Skip to content

refactor: remove Lwt from public OCaml interface#16

Draft
zshipko wants to merge 12 commits into
mainfrom
more-eio2
Draft

refactor: remove Lwt from public OCaml interface#16
zshipko wants to merge 12 commits into
mainfrom
more-eio2

Conversation

@zshipko

@zshipko zshipko commented Oct 3, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@zshipko zshipko marked this pull request as draft October 3, 2023 23:55
@wikiwong

wikiwong commented Oct 6, 2023

Copy link
Copy Markdown

will this essentially make all operations synchronous?

@zshipko

zshipko commented Oct 6, 2023

Copy link
Copy Markdown
Contributor Author

This is still using Lwt but it's just on top of the Eio scheduler, which is using Effects under the hood so it looks like "direct style". This code still needs to be wrapped in a call to Eio_main.run to work. So in the short term it simplifies the types a little, but it also allows us to introduce parallelism at some point in the future.

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.

2 participants