amber/web/readable_stream/byob_reader

Types

pub type ByobReader(a)

Functions

pub fn cancel(reader: ByobReader(a), reason: b) -> Promise(Nil)
pub fn closed(reader: ByobReader(a)) -> Promise(Nil)
pub fn read(
  reader: ByobReader(a),
  view: ArrayBufferView,
  options: List(ByobReaderReadOption),
) -> Promise(ReadResult(ArrayBufferView))
pub fn release_lock(reader: ByobReader(a)) -> ByobReader(a)
Search Document