Streams is an efficient mechanism to handle sequence of data.
stream:foreach(fun(_) -> ... end, esq:stream(Queue))