Browse Source

Update README example.

pull/1/head
Fredrik Ekre 4 years ago
parent
commit
8abd167986
  1. 2
      README.md

2
README.md

@ -16,7 +16,7 @@ Construct a tee stream by wrapping multiple writable IO objects,
call function `f` on the tee, and automatically calls `close` on call function `f` on the tee, and automatically calls `close` on
all IO streams: all IO streams:
```julia ```julia
TeeStream(f::Function, io::IO...) do tee TeeStream(io::IO...) do tee
write(tee, ...) write(tee, ...)
end end
``` ```

Loading…
Cancel
Save