Skip to content

Commit

Permalink
rename BaseFeature to JetFeature
Browse files Browse the repository at this point in the history
  • Loading branch information
solrudev committed Mar 18, 2023
1 parent 6d694a4 commit 407b0ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jetmvi/src/main/kotlin/io/github/solrudev/jetmvi/Feature.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import kotlinx.coroutines.launch
*
* Implements [Flow] of [JetState], so it can be collected to receive UI state updates.
*
* Has [BaseFeature] and [AdapterFeature] implementations.
* Has [JetFeature] and [AdapterFeature] implementations.
*/
public sealed interface Feature<in E : JetEvent, out S : JetState> : Flow<S> {

Expand All @@ -31,7 +31,7 @@ public sealed interface Feature<in E : JetEvent, out S : JetState> : Flow<S> {
/**
* Standard implementation of [Feature] which assembles [Middlewares][Middleware] and [Reducer] together.
*/
public open class BaseFeature<in E : JetEvent, out S : JetState> private constructor(
public open class JetFeature<in E : JetEvent, out S : JetState> private constructor(
private val middlewares: List<Middleware<E>>,
private val reducer: Reducer<E, S>,
private val uiState: MutableStateFlow<S>
Expand Down

0 comments on commit 407b0ad

Please sign in to comment.