awesome_task_manager 1.0.0
awesome_task_manager: ^1.0.0 copied to clipboard
Manage and synchronize concurrent tasks, preventing duplicate executions and race conditions while optimizing resource usage in Flutter apps
1.0.0 #
- Initial release of Awesome Task Manager!
- This release introduces a powerful and flexible way to manage background tasks in your Flutter applications.
- Core Features:
- Task Management: A robust system for executing, canceling, and observing tasks.
- Task State Management: Clear and predictable state management for tasks (
isExecuting,isCompleted,isCanceled,isError). - Observable Streams: Get real-time updates on task status using streams.
- Available Task Resolvers:
SharedResultResolver: Avoids re-executing the same task by sharing the result among concurrent callers.SequentialQueueResolver: Executes tasks one by one in a sequential queue.TaskPoolManager: Manages a pool of tasks to control concurrency.CancelPreviousResolver: Cancels the previous task when a new one with the same ID is executed.RejectAfterThresholdResolver: Rejects new tasks when a certain threshold is reached.
- Widgets:
AwesomeTaskObserver: A widget that rebuilds when the status of a task changes.
- Logging:
- A simple logging system to help to intercept and debug task executions.