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

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

package js.web.streams;

import js.lang.Any;
import js.lang.Promise;
import js.lang.VoidPromise;
import org.teavm.jso.JSBody;


public interface ReadableStreamReader extends Any {
    @JSBody(script = "return ReadableStreamReader.prototype")
    static ReadableStreamReader prototype() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    @JSBody(script = "return new ReadableStreamReader()")
    static ReadableStreamReader create() {
        throw new UnsupportedOperationException("Available only in JavaScript");
    }

    VoidPromise cancel();

    Promise> read();

    void releaseLock();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy