display results in streaming example
throw error on 0 entries, rather than hang forever