All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.web.streams.ReadableByteStreamController Maven / Gradle / Ivy

package js.web.streams;

import js.lang.Any;
import js.util.buffers.ArrayBufferView;
import org.teavm.jso.JSProperty;

import javax.annotation.Nullable;


public interface ReadableByteStreamController extends Any {
    @JSProperty
    @Nullable
    ReadableStreamBYOBRequest getByobRequest();

    @JSProperty
    int getDesiredSize();

    void close();

    void enqueue(ArrayBufferView chunk);

    void error(Any error);

    void error();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy