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

Example how to build async API with iceoryx2 #246

Open
elfenpiff opened this issue Jun 19, 2024 · 1 comment
Open

Example how to build async API with iceoryx2 #246

elfenpiff opened this issue Jun 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@elfenpiff
Copy link
Contributor

elfenpiff commented Jun 19, 2024

(Code) Example Of Cumbersome API

iceoryx2 itself does not offer an async API, but it is possible to build something with it that has an async API. Therefore, one can define a pub/sub service and combine it with an event service. An example shall demonstrate how to realize such an API.

Relates to #47

Is a possible solution sans-IO design: https://www.firezone.dev/blog/sans-io

@elfenpiff elfenpiff added the enhancement New feature or request label Jun 19, 2024
@elBoberido
Copy link
Member

Maybe I got it wrong but I think you mean an event based API. When someone talks about an async API in Rust they have something different in mind, especially to be composable with the await call. This is currently not possible with the API we provide but it should be possible to provide such an API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants