Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/cli/js/lib.deno.shared_globals.d.ts>ByteLengthQueuingStrategy

A modern runtime for JavaScript and TypeScript.
Go to Latest
class ByteLengthQueuingStrategy
implements QueuingStrategy<ArrayBufferView>
import { ByteLengthQueuingStrategy } from "https://deno.land/x/deno@v1.0.0/cli/js/lib.deno.shared_globals.d.ts";

Constructors

new
ByteLengthQueuingStrategy(options: { highWaterMark: number; })

Properties

highWaterMark: number

Methods

size(chunk: ArrayBufferView): number