Stream.stop()

DESCRIPTION

Stop a stream.

All pending read operations are stopped. The write direction is also closed.

DECLARATION

    public func stop()