I'm happy to submit a PR. Though I may need a little guidance.
The new version of the redis crate supports async/await operations. Usage of this requires, the pooled connections to be retrieved using the new client.get_async_connection(). Currently the RedisConnectionManager relies on the original synchronous get_connection(), thereby limiting users only to the synchronous operations.
I would like to add the async/await support. I propose creating RedisAsyncConnectionManager who's fn connect(&self) method uses client.get_async_connection().
Would you be willing to accept a PR to address this? Any advice would be appreciated.
I'm happy to submit a PR. Though I may need a little guidance.
The new version of the
redis
crate supports async/await operations. Usage of this requires, the pooled connections to be retrieved using the newclient.get_async_connection()
. Currently theRedisConnectionManager
relies on the original synchronousget_connection()
, thereby limiting users only to the synchronous operations.I would like to add the async/await support. I propose creating
RedisAsyncConnectionManager
who'sfn connect(&self)
method usesclient.get_async_connection()
.Would you be willing to accept a PR to address this? Any advice would be appreciated.