discard-input

Discards the elements from the stream.

”Reads” in all the elements, and then discards them.  The actual action depends on which method of this function does the work.  The default implementation does nothing, other implementations advance the stream’s position to the end of the collection.

Exported from

Modifiers

open

Arguments

streamAn instance of <stream>.
The streams-protocol module.
The streams module.
The superclass of all stream classes.