From 33114c351751d5775f2de820f2e11359176b6f37 Mon Sep 17 00:00:00 2001 From: David van Geest Date: Wed, 18 Oct 2023 23:14:11 -0400 Subject: [PATCH] Update README. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 11e2d2e..50d1e4c 100644 --- a/README.md +++ b/README.md @@ -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}")