Skip to content

Commit

Permalink
Update README example to remove Deno reader
Browse files Browse the repository at this point in the history
  • Loading branch information
danopia committed Sep 9, 2024
1 parent 4d7bd8c commit a4b827b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import * as ows from "jsr:@cloudydeno/stream-observables@^1.4.0";

console.log('Tap Enter to add energy!');
ows.merge(
ows.fromTimer(500)
ows.fromTimer(1000)
.pipeThrough(ows.map(() => -1)),
ows.fromDenoReader(Deno.stdin)
ows.fromIterable(Deno.stdin.readable)
.pipeThrough(ows.map(() => 1)),
)
.pipeThrough(
Expand Down

0 comments on commit a4b827b

Please sign in to comment.