initialization_manager 0.1.0-dev.1 copy "initialization_manager: ^0.1.0-dev.1" to clipboard
initialization_manager: ^0.1.0-dev.1 copied to clipboard

Pure Dart initialization engine with ordered steps, named gates for deferred post-auth work, severity-based retries, cooperative cancellation, and immutable snapshot streaming.

Changelog #

All notable changes to this project are documented in this file.

The format is based on Keep a Changelog, and this project follows Semantic Versioning.

0.1.0-dev.1 - 2026-04-12 #

Added #

  • Pure Dart initialization engine with ordered, dependency-aware step execution.
  • Named InitializationGate system for deferred work across multiple phases.
  • Built-in InitializationGate.authenticated convenience gate for post-login flows.
  • InitializationStep.afterGate and InitializationStep.afterAuthentication factory constructors.
  • Per-step shouldRun predicates for conditional execution.
  • Per-step or plan-level timeout enforcement with TimeoutException integration.
  • Severity-based failure handling: skippable, retryable, fatal.
  • Cooperative cancellation with InitializationCancellationToken.
  • Append-only InitializationRecord execution journal with per-attempt tracking.
  • Immutable InitializationSnapshot streaming with per-step state and gate visibility.
  • InitializationSummary and InitializationCompletionStatus for compact outcome reporting.
  • InitializationStepContext with typed gate access, cancellation, and live snapshot reads.
  • Comprehensive public API documentation following behavior-first Dartdoc style.
  • Flutter example app with Riverpod 3 and BLoC/Cubit adapters.
  • Unit tests covering auth flows, retries, cancellation, gates, dependencies, and lifecycle.
1
likes
160
points
20
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure Dart initialization engine with ordered steps, named gates for deferred post-auth work, severity-based retries, cooperative cancellation, and immutable snapshot streaming.

Repository (GitHub)
View/report issues

Topics

#initialization #bootstrap #startup #lifecycle

License

MIT (license)

Dependencies

meta

More

Packages that depend on initialization_manager