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.155 -- Release Build+fbb54a9347e09f19695376cbf86e09a9ff9ee9ca
public bool TryTakeToken()

Return Value

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

See Also