shutdown 0.4.4 copy "shutdown: ^0.4.4" to clipboard
shutdown: ^0.4.4 copied to clipboard

Prioritized events for graceful shutdown in server Dart applications.

0.4.4 #

  • Updated lints.

0.4.3 #

  • Migrated to null safety.

0.4.2 #

  • Added reverse flag to triggers.

0.4.1 #

  • Updated to latest Dart language lints.
  • Added reverse flag to optionally execute handlers in reverse order.

0.4.0 #

  • Enable Dart2 versions.
  • Handler-specific and overall timeouts for closing resources.

0.3.0 #

Breaking changes

The suggested way is to use shutdown prefix when using the package, methods were renamed accordingly:

  • addShutdownHandler -> addHandler
  • registerDefaultProcessSignals -> triggerOnSigInt (and similar ones)

0.2.0 #

  • Initial version: basic priorities.
  • OS signal hooks.
8
likes
160
points
1.88k
downloads

Publisher

verified publisheragilord.com

Weekly Downloads

Prioritized events for graceful shutdown in server Dart applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on shutdown