Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Linear

import type { Linear } from "https://googleapis.deno.dev/v1/dataflow:v1b3.ts";

Linear buckets with the following boundaries for indices in 0 to n-1. - i in [0, n-1]: [start + (i)*width, start + (i+1)*width)

interface Linear {
numberOfBuckets?: number;
start?: number;
width?: number;
}

§Properties

§
numberOfBuckets?: number
[src]

Must be greater than 0.

§
start?: number
[src]

Lower bound of the first bucket.

§
width?: number
[src]

Distance between bucket boundaries. Must be greater than 0.