org.qi4j.io

## Interface Receiver<T,ReceiverThrowableType extends Throwable>

- All Known Implementing Classes:
    EventRouter

      public interface Receiver<T,ReceiverThrowableType extends Throwable>

  Receiver of items during a specific transfer from an Input to an Output.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `receive(T item)` Receive a single item of the given type.

- - ### Method Detail

    - #### receive

          void receive(T item)
                       throws ReceiverThrowableType extends Throwable

      Receive a single item of the given type. The receiver should process it and optionally throw an exception if it fails.
      Parameters:
        `item` -
      Throws:
        `ReceiverThrowableType`
        `ReceiverThrowableType extends Throwable`