Skip to content

Commit

Permalink
Fix awaitAll example in readme #2377
Browse files Browse the repository at this point in the history
  • Loading branch information
mp911de committed Apr 6, 2023
1 parent fc6630e commit b5ecd2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ RedisStringAsyncCommands<String, String> async = connection.async();
RedisFuture<String> set = async.set("key", "value")
RedisFuture<String> get = async.get("key")

async.awaitAll(set, get) == true
LettuceFutures.awaitAll(set, get) == true

set.get() == "OK"
get.get() == "value"
Expand Down

0 comments on commit b5ecd2e

Please sign in to comment.