StopReason

sealed interface StopReason

Why io.devconsole.DevConsole.stop / stopAsync was called; informational, does not change stop behavior.

Inheritors

Types

Link copied to clipboard

The host process is going away; called from a shutdown/onDestroy-adjacent path.

Link copied to clipboard
data class Failure(val message: String) : StopReason

Stopping in response to an internal failure; message describes what went wrong.

Link copied to clipboard

The host explicitly asked to stop (a debug-menu action, a button, etc.).