From a4b827b5b693ab3526e259c64781161e2e8e6635 Mon Sep 17 00:00:00 2001 From: Daniel Lamando Date: Mon, 9 Sep 2024 09:53:16 +0200 Subject: [PATCH] Update README example to remove Deno reader --- src/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/README.md b/src/README.md index ef67d83..149e3f4 100644 --- a/src/README.md +++ b/src/README.md @@ -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(