Structures

The following structures are available globally.

  • Declaration

    Swift

    public struct Effect<Event>
    extension Effect: AsyncSequence
  • A reducer is responsible for taking an event and deciding how the state should be changed and whether any effects should be executed.

    See more

    Declaration

    Swift

    public struct Reducer<State, Event, Environment>
  • Declaration

    Swift

    @MainActor
    public struct UnwrapStore<State, Event, Environment, Content> : View where Content : View