zip_future 1.2.0
zip_future: ^1.2.0 copied to clipboard
A Dart package for efficiently managing and executing multiple asynchronous operations (Futures) with advanced control over error handling, concurrency, and timeouts.
Changelog #
1.2.0 #
- Added map-based zipping:
ZipFutureMap.mapforMap<K, Future<V>>with same error policies, concurrency limits, and timeouts. - Enhanced
ZipFuturewith partial-failure strategies (skip,collect) alongside existingfailFastpolicy. - Introduced
maxConcurrentparameter to control concurrency and per-futuretimeoutsupport for both list and map zipping. - Reintroduced
executeThenMap<R>to post-process results (List<T?>) directly.
1.1.0 #
- Added error handling with optional
onErrorcallback forexecuteandexecuteThenMapmethods. - Updated README with examples demonstrating error handling.
- Added Dart documentation comments throughout the library.
1.0.0 #
- Initial version.