Interface GeneratorEmitter<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void complete()
      Complete the stream.
      void emit​(T item)
      Emit an item.
      void fail​(java.lang.Throwable failure)
      Emit a failure and terminate the stream.
    • Method Detail

      • emit

        void emit​(T item)
        Emit an item.
        Parameters:
        item - the item
      • fail

        void fail​(java.lang.Throwable failure)
        Emit a failure and terminate the stream.
        Parameters:
        failure - the failure
      • complete

        void complete()
        Complete the stream.