+Key, +ChunkSize, -List)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
requests. Note that this results in O(N
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
Term as prolog.
- See also
- lazy_list/2 for a discussion on the
difference between lazy lists and normal lists.