fogfish / esq

simple persistent queues for Erlang
Apache License 2.0
56 stars 10 forks source link

Add utility to convert queue to stream #7

Open fogfish opened 6 years ago

fogfish commented 6 years ago

Streams is an efficient mechanism to handle sequence of data.

stream:foreach(fun(_) -> ... end,  esq:stream(Queue))