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.map
forMap<K, Future<V>>
with same error policies, concurrency limits, and timeouts. - Enhanced
ZipFuture
with partial-failure strategies (skip
,collect
) alongside existingfailFast
policy. - Introduced
maxConcurrent
parameter to control concurrency and per-futuretimeout
support for both list and map zipping. - Reintroduced
executeThenMap<R>
to post-process results (List<T?>
) directly.
1.1.0 #
- Added error handling with optional
onError
callback forexecute
andexecuteThenMap
methods. - Updated README with examples demonstrating error handling.
- Added Dart documentation comments throughout the library.
1.0.0 #
- Initial version.