getWriter

Bun

Symbol

WritableStream.getWriter

Referenced types

class WritableStreamDefaultWriter<W = any>

This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.

MDN Reference