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

ThrottleConfig

An object interface used by throttle or throttleTime that ensure configuration options of these operators.

interface ThrottleConfig {
leading?: boolean;
trailing?: boolean;
}

§Properties

§
leading?: boolean
[src]

If true, the resulting Observable will emit the first value from the source Observable at the start of the "throttling" process (when starting an internal timer that prevents other emissions from the source to pass through). If false, it will not emit the first value from the source Observable at the start of the "throttling" process.

If not provided, defaults to: true.

§
trailing?: boolean
[src]

If true, the resulting Observable will emit the last value from the source Observable at the end of the "throttling" process (when ending an internal timer that prevents other emissions from the source to pass through). If false, it will not emit the last value from the source Observable at the end of the "throttling" process.

If not provided, defaults to: false.