MCPcopy Create free account
hub / github.com/Ray-D-Song/lexe / reset_queue

Method reset_queue

modules/llrt_stream_web/src/readable/byte_controller.rs:477–482  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

475 }
476
477 fn reset_queue(&mut self) {
478 // Set container.[[queue]] to a new empty list.
479 self.queue.clear();
480 // Set container.[[queueTotalSize]] to 0.
481 self.queue_total_size = 0;
482 }
483
484 pub(super) fn readable_byte_stream_controller_close<R: ReadableStreamReader<'js>>(
485 ctx: Ctx<'js>,

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected