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

Method reset_queue

modules/llrt_stream_web/src/writable/default_controller.rs:546–551  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

544 }
545
546 fn reset_queue(&mut self) {
547 // Set container.[[queue]] to a new empty list.
548 self.container.queue.clear();
549 // Set container.[[queueTotalSize]] to 0.
550 self.container.queue_total_size = 0.0;
551 }
552
553 pub(super) fn abort_steps<W: WritableStreamWriter<'js>>(
554 ctx: &Ctx<'js>,

Callers 1

error_stepsMethod · 0.45

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected