js.web.streams.UnderlyingSource Maven / Gradle / Ivy
package js.web.streams;
import js.lang.Any;
import js.lang.Unknown;
import org.teavm.jso.JSProperty;
import javax.annotation.Nullable;
public interface UnderlyingSource extends Any {
@JSProperty
@Nullable
ReadableStreamErrorCallback getCancel();
@JSProperty
void setCancel(ReadableStreamErrorCallback cancel);
@JSProperty
@Nullable
ReadableStreamDefaultControllerCallback getPull();
@JSProperty
void setPull(ReadableStreamDefaultControllerCallback pull);
@JSProperty
@Nullable
ReadableStreamDefaultControllerCallback getStart();
@JSProperty
void setStart(ReadableStreamDefaultControllerCallback pull);
@JSProperty
@Nullable
Unknown getType();
@JSProperty
void setType(Unknown type);
}