Companion

object Companion

Functions

Link copied to clipboard
fun shutDownHookAction(service: Service): Thread

Creates a JVM shutdown hook Thread that gracefully stops the given Service.