better_future 1.0.1
better_future: ^1.0.1 copied to clipboard
Advanced asynchronous orchestration with named results, dependency management, and automatic cleanup.
1.0.1 #
- Changed
BetterResultsto anabstract interface classfor better encapsulation and testing support. - Improved API documentation for
BetterFuture.waitwith detailed usage examples; also clarified return map behavior and dependency management.
1.0.0 #
- Initial release.
- Features:
- Parallel execution of asynchronous tasks with
FutureOrsupport. - Automatic dependency management via the
$(BetterResults) object. - Elegant dynamic syntax for result access (
$.keyand$.key<T>()). - Robust built-in type casting for primitives, collections, and common core types.
- Custom type registration for cross-platform type-safe dynamic access.
- Automatic resource cleanup on orchestration failure via
cleanUpcallback. - Full compatibility with VM, Web (JavaScript), and WASM.
- Optimized for Dart 3 Map destructuring patterns.
- Parallel execution of asynchronous tasks with