Marking the API stable.
新增于: v16.8.0
返回流在发出 'end' 之前是否已被销毁或发生错误。
'end'
【Returns whether the stream was destroyed or errored before emitting 'end'.】