RateLimiterTryTakeToken Method

Attempts to take a token from the rate limiter.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.170 -- Release Build+c182f6ab0de7d8c2535312827c244b8c677ffdd5
public bool TryTakeToken()

Return Value

Boolean
true if token was successfully taken, False if all tokens were consumed.

See Also