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

async & sync support #22

Open
0x8f701 opened this issue May 21, 2024 · 3 comments
Open

async & sync support #22

0x8f701 opened this issue May 21, 2024 · 3 comments

Comments

@0x8f701
Copy link
Contributor

0x8f701 commented May 21, 2024

it'll be good to support both async and sync, although this crate's name is async hhh, but sync can enable more complex application logic and trees etc

@0x8f701
Copy link
Contributor Author

0x8f701 commented May 21, 2024

I made a sync version in my fork: https://github.com/GopherJ/rsmq-sync but eventually need to find a way to switch between async & sync.

@0x8f701
Copy link
Contributor Author

0x8f701 commented May 21, 2024

https://github.com/fMeow/maybe-async-rs is an option but redis's interface isn't very format. it has invoke_async and query_async

@DavidBM
Copy link
Owner

DavidBM commented May 30, 2024

Added a new sync facade. Let me know if tha works

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

2 participants