Table of Contents

Enum BucketRateLimiter.ResetBehavior

Namespace
MarymoorStudios.Core
Assembly
MarymoorStudios.Core.dll

Affects how the number of tokens is impacted by a reset.

public enum BucketRateLimiter.ResetBehavior

Fields

Empty = 0

The bucket is emptied of tokens (Must wait to refill tokens).

Full = 1

The bucket is filled to max capacity. (No refill needed until tokens are consumed.)

Unchanged = 2

The token count is unchanged by the reset.