2021-12-11 14:27:31 -05:00
|
|
|
//go:build !darwin && !windows && !linux && !solaris && !freebsd && !netbsd && !openbsd && !dragonfly
|
|
|
|
// +build !darwin,!windows,!linux,!solaris,!freebsd,!netbsd,!openbsd,!dragonfly
|
2021-09-28 13:30:11 -04:00
|
|
|
|
|
|
|
package tea
|
|
|
|
|
|
|
|
import (
|
|
|
|
"io"
|
|
|
|
)
|
|
|
|
|
|
|
|
// newCancelReader returns a fallbackCancelReader that satisfies the
|
|
|
|
// cancelReader but does not actually support cancelation.
|
|
|
|
func newCancelReader(reader io.Reader) (cancelReader, error) {
|
|
|
|
return newFallbackCancelReader(reader)
|
|
|
|
}
|