Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Jul 18, 2019
1 parent cad2302 commit f4d4405
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ but are decorated with extra functionality to access and search their content.

```js
// normal access to STDOUT
observable.stdout.on("data", function() {})
observable.stdout.on("data", function() {
console.log(data.toString())
})

// get all content from STDOUT as a string
const text = observable.stdout.fullText()
Expand Down

0 comments on commit f4d4405

Please sign in to comment.