Stream.abort()

DEPRECATED

This function is deprecated and should not be used for new implementations. Use stop() (renamed for consistency with similar functions in other contexts)

DESCRIPTION

Abort a stream.

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

DECLARATION

    public func abort()