function throttle(
getDurationSource: () => Source<unknown>,
config?: ThrottleConfig | null,
): IdentityOperator
function throttle<T>(
getDurationSource: (value: T, index: number) => Source<unknown>,
config?: ThrottleConfig | null,
): Operator<T, T>
interface ThrottleConfig {
emitPendingOnEnd?: boolean | null
leading?: boolean | null
trailing?: boolean | null
}1 | interface ThrottleConfig { |
2 | emitPendingOnEnd?: boolean | null |
3 | leading?: boolean | null |
4 | trailing?: boolean | null |
5 | } |
var defaultThrottleConfig: ThrottleConfig