Interface VirtualEmitter<T>

Type Parameters:
T - the element type to emit
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface VirtualEmitter<T>
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    emit(T item)
    Signal the next item
  • Method Details

    • emit

      void emit(T item) throws Throwable
      Signal the next item
      Parameters:
      item - the item to signal
      Throws:
      Throwable - an arbitrary exception if the downstream cancelled