Skip to main content

flutter_request_scheduler 1.0.1 copy "flutter_request_scheduler: ^1.0.1" to clipboard
flutter_request_scheduler: ^1.0.1 copied to clipboard

Production-ready request scheduler for Flutter/Dart. Controls concurrency, queues, prioritizes, deduplicates, retries, and debounces API calls to prevent UI lag, frame drops, and freezing under heavy [...]

Changelog #

1.0.1 #

Initial stable release

  • Production-ready request scheduler for Flutter/Dart.
  • Concurrency control with configurable maxConcurrent.
  • Priority-based FIFO task scheduling.
  • Request deduplication using deduplicationKey.
  • Automatic retry with exponential backoff + jitter (scheduleWithRetry and retry methods).
  • Timeout and cooperative cancellation support.
  • Built-in debounce and throttle utilities.
  • Real-time metrics tracking (queue size, active tasks, average response time).
  • Lifecycle hooks (onTaskStart, onTaskComplete, onTaskError).
  • Full null-safety and clean architecture.
  • Comprehensive unit tests for concurrency, deduplication, and retry logic.
  • Zero UI thread blocking — prevents frame drops under heavy API load.

Breaking Changes #

  • None (initial release)

New Features #

  • RequestScheduler main class with intuitive API (schedule, retry, scheduleWithRetry, debounce, throttle)
  • ScheduledTask wrapper with easy cancellation
  • Priority enum (low, normal, high)

Bug Fixes #

  • Fixed race conditions in worker pool and queue processing
  • Resolved type issues in retry wrapper
  • Improved cancellation safety

0.9.0 (Pre-release) #

  • Initial development version
0
likes
140
points
25
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Production-ready request scheduler for Flutter/Dart. Controls concurrency, queues, prioritizes, deduplicates, retries, and debounces API calls to prevent UI lag, frame drops, and freezing under heavy network load.

Repository (GitHub)

License

MIT (license)

Dependencies

collection, flutter

More

Packages that depend on flutter_request_scheduler