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

x/deno/cli/js/streams/strategies.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@v0.30.0/cli/js/streams/strategies.ts";

Constructors

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

Properties

highWaterMark: number

Methods

size(chunk: ArrayBufferView): number