Package-level declarations
Types
A logger that use Android's Log.
Allows to create ChangedState objects to change the state as a result of DSL methods like InStateBuilder.on or InStateBuilder.onEnter.
Represents a state transition. Instances of this a created through the ChangeableState.mutate, ChangeableState.override and ChangeableState.noChange methods.
Defines which behavior a DSL Block such as on<Action> should have whenever a new action or value is emitted.
A live state machine that was created by a FlowReduxStateMachineFactory. state is a container allowing either access the current state or collecting the current state. dispatchAction and dispatch can be used to send actions to the state machine.
Used to define a state machine using initializeWith and spec. It can then be started with methods like launchIn or shareIn.
A logger that logs to stdout.
Allows access to a snapshot that can be used to access the current state at the time the action or event happened.
Functions
Sets the initial state for the state machine with a Parcelable state class.
Sets the initial state for the state machine.
Sets the initial state for the state machine with a state class that implements SaveableState. The implementation can save values of the state into the SavedStateHandle. The SavedStateHandle is passed to initialState on each state machine launch so that previously saved values, if present, can be used to construct the initial state.
Sets the initial state for the state machine with a kotlinx.serialization.Serializable state class.
Create and start running a FlowReduxStateMachine that exposes a compose State. The state machine will stay active as long as this method stays in the current composition.
Transforms the given state according to ChangedState and returns the new S.