SingleInstanceManager

Singleton object to manage the single instance of an application.

This object ensures that only one instance of the application can run at a time, and provides a mechanism to notify the running instance when another instance attempts to start.

Functions

Link copied to clipboard
fun isSingleInstance(onRestoreRequest: () -> Unit): Boolean