Converts the stream to a single object. This assumes the stream is in object mode and only contains a single element, otherwise an error will be thrown.
Object stream with single entry.
Converts the stream to a single object. This assumes the stream is in object mode and only contains a single element, otherwise an error will be thrown.