Scoop API

scoop:scoop.platform:0.1.0

Pipe

class Pipe

source · line 75
public
public class Pipe private constructor(
    /**
     * The read endpoint, which the caller must close.
     */
    public val source: PipeSource,
    /**
     * The write endpoint, which the caller must close.
     */
    public val sink: PipeSink
)

A native pipe with independently owned read and write endpoints.

property sink

source · line 83
public
public val sink: PipeSink

get: public read-only

The write endpoint, which the caller must close.

property source

source · line 79
public
public val source: PipeSource

get: public read-only

The read endpoint, which the caller must close.