Aller au contenu
Français

ThrottleOptions

Ce contenu n’est pas encore disponible dans votre langue.

ThrottleOptions = ThrottleOptionsBuilder | ThrottleOptionsType

Defined in: src/ThrottleOptions.ts:122

Accepted input for ActorContext.throttle: the fluent ThrottleOptionsBuilder OR a plain ThrottleOptionsType object. Non-Partial on purpose (unlike the broker/delivery options unions) — qps is required and validated nowhere upstream, so throttle({}) / throttle({ burst: 2 }) stay compile errors.