Destroy Stream Endpoint Function

Owning Palette: Network Streams Functions

Requires: Base Development System

Destroys the specified endpoint. To completely destroy a stream and free up the memory allocated to that stream, you must destroy both the reader and writer endpoints. To ensure that you do not lose any data when you destroy a stream, use the Flush Stream function before this function on the writer endpoint.

 Add to the block diagram  Find on the palette
endpoint in specifies the reference to the endpoint. Obtain this reference by wiring the endpoint out output terminal from another Network Streams function to this one.
error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality.

This node runs normally even if an error occurred before this node runs.
error out contains error information. This output provides standard error out functionality.