Interface SideEffect


  • public interface SideEffect
    A side effect.
    • Method Detail

      • serviceCall

        ServiceCall serviceCall()
        The service call that is executed as this effect.
      • synchronous

        boolean synchronous()
        Whether this effect should be executed synchronously or not.
      • of

        static SideEffect of​(ServiceCall serviceCall,
                             boolean synchronous)
        Create a side effect of the given service call.
        Parameters:
        serviceCall - The service call to effect.
        synchronous - Whether this effect should be executed synchronously.
        Returns:
        The side effect.
      • of

        static SideEffect of​(ServiceCall serviceCall)
        Create a side effect of the given service call.
        Parameters:
        serviceCall - The service call to effect.
        Returns:
        The side effect.