Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvgica committed Oct 19, 2023
1 parent d3bad3b commit 33114c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Await.result(data.ready, 5.seconds)

// the data is cached in-memory and can be access using `latest`
println(s"Cached data is ${data.latest}")
Thread.sleep(10)
// data has not been updated yet, same result
println(s"Cached data is still ${data.latest}")

Expand Down

0 comments on commit 33114c3

Please sign in to comment.