Effects

  • A collection of Effects.

    The only requirement for the protocol is to specify the type of the Environment which should be used in the Effects. The properties have default implementations.

    See more

    Declaration

    Swift

    public protocol Effects
  • A side effect that happens as a response to a dispatched Action.

    An Effect can:

    • give a new Action to dispatch (a dispatchingOne effect)
    • give an array of new Actions to dispatch (a dispatchingMultiple effect)
    • give nothing (a nonDispatching effect)
    See more

    Declaration

    Swift

    public enum Effect<Environment>