RouteEditorRoutesState

sealed interface RouteEditorRoutesState

Represents the state of route data loading operations.

This sealed interface provides a type-safe way to track the status of data loading operations.

Inheritors

Types

Link copied to clipboard
data class Failed(val errorCode: RouterErrorCode) : RouteEditorRoutesState

Indicates that route loading failed.

Link copied to clipboard
data class Loaded(val routes: List<RouteUiInfo>) : RouteEditorRoutesState

Indicates that route data was successfully loaded.

Link copied to clipboard

Indicates that route data is currently being fetched.