From 96946e63ff272da5b978574adf09df0744b68393 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Sun, 31 Jan 2021 15:56:56 +0100 Subject: [PATCH] Update README.md --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 7f18659..ad0b18d 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Construct a tee stream by wrapping multiple writable IO objects: ```julia tee = TeeStream(io::IO...) write(tee, ....) +flush(tee) # calls flush on all wrapped io close(tee) # calls close on all wrapped io ``` @@ -20,12 +21,6 @@ TeeStream(f::Function, io::IO...) do tee end ``` -Construct a tee stream by wrapping multiple writable IO objects and -call function `f` on the tee. Automatically calls `close` on the tee -before returning. - -`close` and `flush` on a tee stream closes/flushes all the wrapped streams. - ### Example: Compress with multiple encodings ```julia