writableStream.abort([reason])


新增于: v16.5.0
  • reason <any>

  • 返回:undefined 兑现的 promise。

    \Returns: A promise fulfilled with undefined.

突然终止 WritableStream。所有排队的写入都将被取消,并拒绝相关的 promise。

\Abruptly terminates the WritableStream. All queued writes will be canceled with their associated promises rejected.

AltStyle によって変換されたページ (->オリジナル) /