close

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

The close() method of the WritableStream interface closes the associated stream. All chunks written before this method is called are sent before the returned promise is fulfilled.

MDN Reference


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

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

MDN Reference