17 using System.Threading;
37 bucket.
Consume(tokens, (
long) timeout.TotalMilliseconds);
45 public long Capacity =>
long.MaxValue;
46 public long AvailableTokens =>
long.MaxValue;
47 public bool TryConsume(
long tokens) {
return true; }
48 public void Consume(
long tokens,
long timeout = Timeout.Infinite) { }