This PR adds a more fleshed out example of a LRU cache. The brief example in the README is also updated to use a blocking set operation. Use of blocking set makes it easy to allow having zero capacity, which can be useful as a closable communication primitive.
This PR adds a more fleshed out example of a LRU cache. The brief example in the README is also updated to use a blocking set operation. Use of blocking set makes it easy to allow having zero capacity, which can be useful as a closable communication primitive.