An additional descriptor both ends read and write (a socket pair):
stream, if given, is written into it and its write side ended when
the stream ends; what the child writes is transduced through sink
if given. pipe_to keeps a duplex target duplex, replacing only its
input.
Attributes#
| Attribute | Type | Description |
|---|---|---|
stream | Stream[bytes, PlatformError] | None = None | |
sink | Sink[bytes, bytes, Never, PlatformError] | None = None |
Functions#
__init__#
__init__(stream=None, sink=None) -> None| Parameter | Type | Description |
|---|---|---|
stream | Stream[bytes, PlatformError] | None = None | |
sink | Sink[bytes, bytes, Never, PlatformError] | None = None |