Seitu - Type-Safe Utilities
Core

Throttle

createThrottle()

Creates a throttled readable that rate-limits updates from a source subscribable.

Emits the latest value at most once every wait milliseconds. The first update fires immediately, then subsequent updates are batched until the interval elapses.

Examples

import { ,  } from 'seitu'

const  = ('')
const  = (, 300)
.( => .('throttled:', ))

On this page