# Foretoken

An ETS-based implementation of the [token bucket algorithm](

- [API Documentation](
- [Hex package information](

[![Build Status](](
[![Coverage Status](](

## Feature & Design

- Simplest possible API (only 1 public interface function: `Foretoken.take/5`)
- ETS as concurrently accessible bucket storage
- Bucket lifecycle management
    - On-demand creation of buckets (whch can be disabled)
    - Automatic cleanup of unused buckets

## Compatibility notes

This package requires Erlang/OTP 20 (or later).