Get the content of a Redis list in List. If ChunkSize is given and
smaller than the list length, List is returned as a lazy list. The
actual values are requested using redis LRANGE
requests. Note
that this results in O(N^2) complexity. Using a lazy list is most
useful for relatively short lists holding possibly large items.
Note that values retrieved are strings, unless the value was added
using Term as prolog
.
- See also
- - lazy_list/2 for a discussion on the difference between lazy
lists and normal lists.