⚠️ Internal: This API is not publically exported by the package.

      Interface WritableStream<W>

      This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in back pressure and queuing.

      interface WritableStream {
          locked: boolean;
          abort(reason?): Promise<void>;
          close(): Promise<void>;
          getWriter(): WritableStreamDefaultWriter<W>;
      }

      Type Parameters

      • W = any

      Methods

      Properties

      Methods

      • Parameters

        • Optional reason: any

        Returns Promise<void>

      Properties

      locked: boolean