Type Alias UnderlyingSource

Source
pub(crate) type UnderlyingSource = UnderlyingSource<DomTypeHolder>;

Aliased Type§

pub(crate) struct UnderlyingSource {
    pub autoAllocateChunkSize: Option<u64>,
    pub cancel: Option<Rc<UnderlyingSourceCancelCallback<DomTypeHolder>>>,
    pub pull: Option<Rc<UnderlyingSourcePullCallback<DomTypeHolder>>>,
    pub start: Option<Rc<UnderlyingSourceStartCallback<DomTypeHolder>>>,
    pub type_: Option<ReadableStreamType>,
}

Fields§

§autoAllocateChunkSize: Option<u64>§cancel: Option<Rc<UnderlyingSourceCancelCallback<DomTypeHolder>>>§pull: Option<Rc<UnderlyingSourcePullCallback<DomTypeHolder>>>§start: Option<Rc<UnderlyingSourceStartCallback<DomTypeHolder>>>§type_: Option<ReadableStreamType>