Skip to content

Commit

Permalink
Merge pull request #5 from lanceon/patch-1
Browse files Browse the repository at this point in the history
Example fixed in README.md
  • Loading branch information
knutwalker committed Oct 29, 2018
2 parents 2d0b66e + 03efba7 commit 98cf119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -73,7 +73,7 @@ import rx.redis.api.RxRedis

val client = RxRedis("localhost", 6379)
client.set("foo", "bar")
client.get("foo", "bar").foreach(println)
client.get("foo").foreach(println)

client.del("foo").doOnCompleted(client.shutdown()).subscribe()
RxRedis.await(client)
Expand All @@ -93,7 +93,7 @@ import rx.redis.japi.Client;

final Client client = RxRedis.connect("localhost", 6379);
client.set("foo", "bar");
client.get("foo", "bar").forEach(System.out::println);
client.get("foo").forEach(System.out::println);

client.del("foo").doOnCompleted(client::shutdown).subscribe();
RxRedis.await(client);
Expand Down

0 comments on commit 98cf119

Please sign in to comment.