cpp-redis/cpp_redis

Async Connect

msherman13 opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
The tcp_client_iface class support asynchronous read and write, but async_connect and async_disconnect are not implemented. this forces the user to mix sync and async code, and synchronous reconnect is not suitable for many event-based applications

Describe the solution you'd like
Add async_connect and async_disconnect to the client

Describe alternatives you've considered
considered using synchronous connect and disconnect, but it blocks the other components on my event loop

Additional context
Using boost asio