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

synchronous backend? #188

Open
c-cube opened this issue Mar 4, 2020 · 3 comments
Open

synchronous backend? #188

c-cube opened this issue Mar 4, 2020 · 3 comments

Comments

@c-cube
Copy link

c-cube commented Mar 4, 2020

some projects don't use lwt (lots of synchronous code). A blocking backend would be very useful.

@talex5
Copy link
Contributor

talex5 commented Mar 4, 2020

The core capnp-rpc library doesn't depend on Lwt, but you'd still need to replace it with something else. Fundamentally, capnp-rpc is a promise library (like Lwt), but in which the promises can also be remote. For blocking programs, you'd probably be better off using plain capnp (without the RPC stuff).

@c-cube
Copy link
Author

c-cube commented Mar 4, 2020

Fair enough, my use case is clients that don't need concurrency (open one connection and pretend calls are blocking).

@LasseBlaauwbroek
Copy link
Contributor

I would also be interested in a blocking (non-lwt) backend.

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

No branches or pull requests

3 participants