bkielbasa / developer20

5 stars 0 forks source link

Cancellable `io.Reader`/`io.Writter` #76

Open bkielbasa opened 2 years ago

bkielbasa commented 2 years ago

by default, all io.Reader and io.Writer aren't cancelable. It's quite simple to add it to them. In this blog post, I'll describe a few ways of doing it.