respond method

void respond(
  1. int bytesWritten
)

The respond() method of the ReadableStreamBYOBRequest interface is used to signal to the associated readable byte stream that the specified number of bytes were written into the ReadableStreamBYOBRequest.view.

After this method is called, the ReadableStreamBYOBRequest.view will be transferred and no longer modifiable.

Implementation

external void respond(int bytesWritten);