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

Return Value

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

See Also