execution_policy 0.2.0 copy "execution_policy: ^0.2.0" to clipboard
execution_policy: ^0.2.0 copied to clipboard

A Dart resilience and transient-fault-handling library inspired by C# Polly.

Changelog #

0.1.0 - 2025-07-06 #

Added #

  • Initial release of execution_policy package
  • RetryPolicy with fixed, linear, exponential, and jitter-ed backoff strategies
  • TimeoutPolicy to enforce timeouts on async operations
  • FallbackPolicy for fallback handling
  • CircuitBreakerPolicy to prevent repeated failures
  • PolicyBuilder for fluent chaining of policies
  • PolicyDebugger for tracing and logging policy execution

0.1.1 – 2025-07-06 #

Changed #

  • Added dartdoc for Policy.execute(...) in interface.dart
  • Documented CircuitBreakerPolicy.execute and constructors
  • Documented FallbackPolicy and its execute method

0.2.0 - 2025-07-06 #

Added #

  • Added reset() method to PolicyBuilder<T> for clearing all policies.
  • Added copy() method to PolicyBuilder<T> for copying all policies.
0
likes
150
points
18
downloads

Publisher

verified publisheranuragbharati.com.np

Weekly Downloads

A Dart resilience and transient-fault-handling library inspired by C# Polly.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on execution_policy