returns promise if called with no callback.
An async array following the producer/consumer pattern.
Generated using TypeDoc