Skip to content

Commit

Permalink
rename AssemblyFeature to BaseFeature
Browse files Browse the repository at this point in the history
  • Loading branch information
solrudev committed Nov 18, 2022
1 parent 73492c8 commit 1f62267
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 [AssemblyFeature] and [AdapterFeature] implementations.
* Has [BaseFeature] 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 AssemblyFeature<in E : JetEvent, out S : JetState> private constructor(
public open class BaseFeature<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 1f62267

Please sign in to comment.