@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 |
create() |
UnderlyingSourcePullCallback |
pull() |
void |
setAutoAllocateChunkSize(int autoAllocateChunkSize) |
void |
setCancel(UnderlyingSourceCancelCallback cancel) |
void |
setPull(UnderlyingSourcePullCallback pull) |
void |
setStart(UnderlyingSourceStartCallback start) |
void |
setType(java.lang.String type) |
UnderlyingSourceStartCallback |
start() |
java.lang.String |
type() |
@JsOverlay @Nonnull static UnderlyingSource.Builder create()
@JsProperty(name="start") UnderlyingSourceStartCallback start()
@JsProperty
void setStart(@Nonnull
UnderlyingSourceStartCallback start)
@JsProperty(name="pull") UnderlyingSourcePullCallback pull()
@JsProperty
void setPull(@Nonnull
UnderlyingSourcePullCallback pull)
@JsProperty(name="cancel") UnderlyingSourceCancelCallback cancel()
@JsProperty
void setCancel(@Nonnull
UnderlyingSourceCancelCallback cancel)
@JsProperty(name="type") @ReadableStreamType java.lang.String type()
@JsProperty void setType(@ReadableStreamType @Nonnull java.lang.String type)
@JsProperty(name="autoAllocateChunkSize") int autoAllocateChunkSize()
@JsProperty void setAutoAllocateChunkSize(int autoAllocateChunkSize)