DavidBM / rsmq-async-rs

RSMQ port to async rust. RSMQ is a simple redis queue system that works in any redis v2.6+
MIT License
43 stars 8 forks source link

async & sync support #22

Open GopherJ opened 1 month ago

GopherJ commented 1 month ago

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

GopherJ commented 1 month ago

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.

GopherJ commented 1 month ago

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 commented 1 month ago

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