Structures
The following structures are available globally.
-
Supported startup and shutdown method styles
See moreDeclaration
Swift
public struct LifecycleHandler
-
LifecycleHandler for starting stateful tasks. The state can then be fed into a LifecycleShutdownHandler
See moreDeclaration
Swift
public struct LifecycleStartHandler<State> -
LifecycleHandler for shutting down stateful tasks. The state comes from a LifecycleStartHandler
See moreDeclaration
Swift
public struct LifecycleShutdownHandler<State>
-
See moreServiceLifecycleprovides a basic mechanism to cleanly startup and shutdown the application, freeing resources in order before exiting. By default, also install shutdown hooks based onSignaland backtraces.Declaration
View on GitHub
Install in Dash
Structures Reference