Skip to content

Commit e823f3d

Browse files
committed
docs(endpoint-cache): mention getEndpoint API in README
1 parent 900d037 commit e823f3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/endpoint-cache/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ You probably shouldn't, at least directly.
1313

1414
- uses `mnemonist/lru-cache` for storing the cache.
1515
- the `set` operation stores milliseconds elapsed since the UNIX epoch in Expires param based on CachePeriodInMinutes provided in Endpoint.
16-
- the `get` operation returns a random un-expired endpoint.
16+
- the `get` operation returns all un-expired endpoints with their Expires values.
17+
- the `getEndpoint` operation returns a randomly selected un-expired endpoint.

0 commit comments

Comments
 (0)