Update README.md

Added documentation for promise handling and streaming output.