debounce

emits only after 2s has passed without another emission

example: debouncing user input
so expensive searches are not run while a user is typing

all events

no operation applied

throttle

emits and then ignores subsequent emissions for 2s

example: throttling "refresh data" action
to avoid multiple requests sent at the same time