com.jnape.palatable.lambda.functions.specialized

## Interface SideEffect

-     public interface SideEffect

  An interface used to represent an effect that requires no input and produces no output, and therefore is only perceivable through inspection of some unreported state. Only exists because Java target-type inference requires an interface, or else this would all be internal, hence the inconveniently-named `Ω`.

  `Ω` should *never* be called directly.

  See Also:
    `IO.io(SideEffect)`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static SideEffect` | `NOOP` A no-op `SideEffect`

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SideEffect` | `fromRunnable(Runnable runnable)` Create a `SideEffect` from a java `Runnable`.
    `static SideEffect` | `sideEffect(SideEffect sideEffect)` Static factory method to aid in inference.
    `default Runnable` | `toRunnable()` Convert this `SideEffect` to a java `Runnable`.
    `void` | `Ω()`

- - ### Field Detail

    - #### NOOP

          static final SideEffect NOOP

      A no-op `SideEffect`

  - ### Method Detail

    - #### Ω

          void Ω()
          throws Throwable

      Throws:
        `Throwable`

    - #### toRunnable

          default Runnable toRunnable()

      Convert this `SideEffect` to a java `Runnable`.
      Returns:
        the `Runnable`

    - #### fromRunnable

          static SideEffect fromRunnable(Runnable runnable)

      Create a `SideEffect` from a java `Runnable`.
      Parameters:
        `runnable` - the `Runnable`
      Returns:
        the `SideEffect`

    - #### sideEffect

          static SideEffect sideEffect(SideEffect sideEffect)

      Static factory method to aid in inference.
      Parameters:
        `sideEffect` - the `SideEffect`
      Returns:
        the `SideEffect`