Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/xdg/vendor/types/deno.d.ts>CountQueuingStrategy

Determine XDG Base Directory paths (OS/platform portable)
Latest
class CountQueuingStrategy
implements QueuingStrategy
import { CountQueuingStrategy } from "https://deno.land/x/xdg@v10.6.0/vendor/types/deno.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