async-priority-limiter 0.4.4

Throttles prioritised tasks by limiting the max concurrent tasks and minimum time between tasks, with up to two levels based on keys
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![doc = include_str!("../README.md")]

mod blocks;
mod ingress;
mod intervals;
mod limiter;
mod task;
mod worker;

pub mod traits;

#[cfg(feature = "reqwest")]
pub mod reqwest;

pub type BoxFuture<T> = std::pin::Pin<Box<dyn Future<Output = T> + Send + 'static>>;

pub use limiter::{Limiter, builder::LimiterBuilder};