Skip to content

@continuum-js/std


@continuum-js/std / throttle

Function: throttle()

throttle<A>(e, ms): Stream<A>

Defined in: index.ts:39

Emit the leading occurrence immediately, then ignore further ones for ms. (Leading throttle / rate limit.)

Type Parameters

A

A

Parameters

e

Stream<A>

ms

number

Returns

Stream<A>