I am trying to use lettuce in order to add geolocations to Redis. I managed to do it using the sync methods.
Is it possible to convert this logic using the async api for lettue?
sync code:
StatefulRedisConnection<String, String> connection= client.connect();
RedisCommands syncCommands=syncCommands = connection.sync()
long result = syncCommands.geoadd(key, longitude, latitude, userId);
How do you convert this into an async invocation?
Thanks, ray.