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.158 -- Release Build+5f840a50b8123565ea38e0c1d6c00b5650022b4a
public bool TryTakeToken()

Return Value

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

See Also