safe_executor 1.0.1
safe_executor: ^1.0.1 copied to clipboard
A robust and lightweight Dart package to execute asynchronous functions safely, with support for retries, timeouts, and custom error mapping.
1.0.1 #
- Initial release of the
safe_executorpackage. - Provides the
SafeExecutor.runmethod for safely executing asynchronous functions. - Includes a sealed
Resultclass (SuccessandFailure) for robust and type-safe error handling. - Built-in support for:
- Automatic retries on failure.
- Timeouts to limit execution time.
- Custom error mapping to transform exceptions into clean error types.