Stream.close()

DESCRIPTION

Close the write direction of the stream. Blocks until the close is complete.

DECLARATION

    public func close() throws 

PARAMETERS

None.

ERRORS

Throws the following errors:

ABORTED:
if the stream is closed
OPERATION_IN_PROGRESS:
if a stream write is in progress

RETURN VALUES

None.

EXAMPLES

None.