Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md demo has a error #2377

Closed
manzhizhen opened this issue Apr 5, 2023 · 1 comment
Closed

README.md demo has a error #2377

manzhizhen opened this issue Apr 5, 2023 · 1 comment
Labels
type: documentation A documentation update
Milestone

Comments

@manzhizhen
Copy link

Bug Report

This is README.md about sync demo :

StatefulRedisConnection<String, String> connection = client.connect();
RedisStringAsyncCommands<String, String> async = connection.async();
RedisFuture<String> set = async.set("key", "value")
RedisFuture<String> get = async.get("key")

async.awaitAll(set, get) == true

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

but I find class RedisStringAsyncCommands has no "awaitAll" method,maybe this has a error.

@mp911de mp911de added the type: documentation A documentation update label Apr 6, 2023
@mp911de
Copy link
Collaborator

mp911de commented Apr 6, 2023

Good catch! That should had been: LettuceFutures.awaitAll

mp911de added a commit that referenced this issue Apr 6, 2023
mp911de added a commit that referenced this issue Apr 6, 2023
@mp911de mp911de added this to the 6.2.3.RELEASE milestone Apr 6, 2023
@mp911de mp911de closed this as completed Apr 6, 2023
@mp911de mp911de modified the milestones: 6.2.3.RELEASE, 6.2.4.RELEASE Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

No branches or pull requests

2 participants