Feature

class Feature<S, T>(val asStateFlow: StateFlow<S>, val actions: T)

Generic feature class to obtain both UI state and access to feature actions in one place.

Constructors

Link copied to clipboard
constructor(asStateFlow: StateFlow<S>, actions: T)

Properties

Link copied to clipboard
val actions: T
Link copied to clipboard
val asStateFlow: StateFlow<S>