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

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

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

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

Constructors

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

Properties

highWaterMark: number

Methods

size(chunk: any): 1