Skip to content

Lifecycle ​

Category: Services

Source: lifecycle.dart

Tiny service that lets the slash command system request app shutdown without holding a reference to the App.

Classes ​

Lifecycle ​

Tiny service that lets the slash command system request app shutdown without holding a reference to the App.

Constructor ​

dart
Lifecycle({required this._onExit})

Methods ​

void requestExit() ​

Released under the MIT License.