http_executor library
Classes
- Executor
- Executes async tasks with a configurable maximum concurrency and rate.
- HttpExecutor
- Wraps a HTTP Client and limits its use with an Executor.
- Rate
- No more than maximum tasks can be started over any given period.
Typedefs
-
AsyncTask<
R> = FutureOr< R> ? Function() - An async task that completes with a Future or a value.
-
StreamTask<
R> = Stream< R> ? Function() - An async task that completes after the Stream is closed.