Effects

public protocol Effects

A collection of Effects.

  • The environment set up in the Store passed to every Effect.

    Declaration

    Swift

    associatedtype Environment
  • enabledEffects Default implementation

    The Effects to register on the Store.

    Default Implementation

    Declaration

    Swift

    var enabledEffects: [Effect<Environment>] { get }
  • id Default implementation

    The identifier for the Effects

    Default Implementation

    Declaration

    Swift

    static var id: String { get }