LifecycleTask
public protocol LifecycleTask
Represents an item that can be started and shut down
-
Undocumented
Declaration
Swift
var label: String { get } -
shutdownIfNotStartedDefault implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
var shutdownIfNotStarted: Bool { get } -
Undocumented
Declaration
Swift
func start(_ callback: @escaping (Error?) -> Void) -
Undocumented
Declaration
Swift
func shutdown(_ callback: @escaping (Error?) -> Void)
View on GitHub
Install in Dash
LifecycleTask Protocol Reference