complete/done for completing a stream, onFinish for detecting finishing
the stream by either error or complete