peek package:conduit

View the next value in the stream without consuming it.
Look at the next value in the stream, if available. This function will not change the state of the stream. Since 0.3.0
View the next value in the stream without consuming it.
View the next element in the chunked stream without consuming it.
Run a consuming conduit repeatedly, only stopping when there is no more data available from upstream.
Run a consuming conduit repeatedly, only stopping when there is no more data available from upstream. In contrast to peekForever, this function will ignore empty chunks of data. So for example, if a stream of data contains an empty ByteString, it is still treated as empty, and the consuming function is not called.
View the next element in the chunked stream without consuming it.