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