Skip to main content
Module

x/evt/mod.ts>dom.ByteLengthQueuingStrategy

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.ByteLengthQueuingStrategy
implements QueuingStrategy<ArrayBufferView>
import { type dom } from "https://deno.land/x/evt@v2.3.1/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