abort

inline suspend fun <W : ERROR CLASS: Symbol not found for JsAny??> WritableStream<W>.abort()(source)
inline suspend fun <W : ERROR CLASS: Symbol not found for JsAny??> WritableStream<W>.abort(reason: JsError?)(source)

The abort() method of the WritableStream interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.

MDN Reference


inline suspend fun <W : ERROR CLASS: Symbol not found for JsAny??> WritableStreamDefaultWriter<W>.abort()(source)
inline suspend fun <W : ERROR CLASS: Symbol not found for JsAny??> WritableStreamDefaultWriter<W>.abort(reason: JsError?)(source)

The abort() method of the WritableStreamDefaultWriter interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.

MDN Reference