AnySideEffect

public protocol AnySideEffect : Dispatchable

Type erasure for SideEffect

See also

SideEffect
  • Block that implements the logic of the side effect.

    Throws

    if the logic has an error. The related promise will be rejected

    See also

    SideEffect

    Declaration

    Swift

    func sideEffect(_ context: AnySideEffectContext) throws

    Parameters

    context

    the context of the side effect