@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface UnderlyingSource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
UnderlyingSource.Builder |
| Modifier and Type | Method and Description |
|---|---|
int |
autoAllocateChunkSize() |
UnderlyingSourceCancelCallback |
cancel() |
static UnderlyingSource.Builder |
of() |
UnderlyingSourcePullCallback |
pull() |
void |
setAutoAllocateChunkSize(int autoAllocateChunkSize) |
void |
setCancel(@JsNonNull UnderlyingSourceCancelCallback cancel) |
void |
setPull(@JsNonNull UnderlyingSourcePullCallback pull) |
void |
setStart(@JsNonNull UnderlyingSourceStartCallback start) |
void |
setType(@JsNonNull java.lang.String type) |
UnderlyingSourceStartCallback |
start() |
java.lang.String |
type() |
@JsOverlay @Nonnull static UnderlyingSource.Builder of()
@JsProperty(name="start") UnderlyingSourceStartCallback start()
@JsProperty void setStart(@JsNonNull UnderlyingSourceStartCallback start)
@JsProperty(name="pull") UnderlyingSourcePullCallback pull()
@JsProperty void setPull(@JsNonNull UnderlyingSourcePullCallback pull)
@JsProperty(name="cancel") UnderlyingSourceCancelCallback cancel()
@JsProperty void setCancel(@JsNonNull UnderlyingSourceCancelCallback cancel)
@JsProperty(name="type") @ReadableStreamType java.lang.String type()
@JsProperty void setType(@ReadableStreamType @JsNonNull java.lang.String type)
@JsProperty(name="autoAllocateChunkSize") int autoAllocateChunkSize()
@JsProperty void setAutoAllocateChunkSize(int autoAllocateChunkSize)