attempt v0.2.0 Attempt.Bucket protocol

Link to this section Summary

Functions

Claim a token from a token bucket

Return the state of the token bucket

Link to this section Types

Link to this type t()
t() :: struct()

Link to this section Functions

Link to this function claim_token(bucket, options)

Claim a token from a token bucket

Return the state of the token bucket