close

inline suspend fun <W : JsAny?> WritableStream<W>.close()(source)

The close() method of the WritableStream interface closes the associated stream.

MDN Reference


inline suspend fun <W : JsAny?> WritableStreamDefaultWriter<W>.close()(source)

The close() method of the WritableStreamDefaultWriter interface closes the associated writable stream.

MDN Reference