Returns a random token, distributed based on the counter values. Specifically, a token with a higher counter is more likely to be chosen than a token with a counter lower than it. If the counter table is empty, null is returned instead.
See Implementation
Returns a random token, distributed based on the counter values. Specifically, a token with a higher counter is more likely to be chosen than a token with a counter lower than it. If the counter table is empty, null is returned instead.