The current API polls the queue to see if there is any content. For some applications a read-and-wait is better than active polling. See also issue https://github.com/zotonic/logstasher/issues/9