Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/mod.ts>dom.ByteLengthQueuingStrategy

💧EventEmitter's typesafe replacement
Latest
interface dom.ByteLengthQueuingStrategy
implements QueuingStrategy<ArrayBufferView>
import { type dom } from "https://deno.land/x/evt@v2.5.7/mod.ts";
const { ByteLengthQueuingStrategy } = dom;

This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.

Properties

highWaterMark: number

Methods

size(chunk: ArrayBufferView): number