共用方式為


TokenBucketRateLimiterOptions.AutoReplenishment 屬性

定義

指定 是否 TokenBucketRateLimiter 自動復原權杖,或其他人是否要呼叫 TryReplenish() 來補充權杖。

public bool AutoReplenishment { get; set; }
member this.AutoReplenishment : bool with get, set
Public Property AutoReplenishment As Boolean

屬性值

預設為 true

適用於