EmptySideEffectDependencyContainer

public class EmptySideEffectDependencyContainer : SideEffectDependencyContainer

An empty dependencies container. It can be used for testing purposes or you don’t need dependencies

  • Creates an empty dependency container

    Declaration

    Swift

    public required init(dispatch _: @escaping AnyDispatch, getState _: @escaping GetState)

    Parameters

    dispatch

    a closure that can be used to dispatch dispatchables

    Return Value

    an instance of the container