Delays each value by the specified timeout (as returned from the callback). When the timeout is a negative number, it is not added.
Note that it doesn't support return of Promise<number> on purpose, to avoid
confusion with what operator throttle does.
Delays each value by the specified timeout (including the first one). When the timeout is a negative number, no delay added.
Note that passing in
timeout = 0, or returning the same from the callback, still uses thetimeoutfunction, just likesetTimeout(0), which can be used for throttling. In order to fully deactivate, it needs a negativetimeout.If you do not want to delay the first value, check out interval.