Class StreamProducer<V>

  • Type Parameters:
    V - the type of item being produced.

    public class StreamProducer<V>
    extends Broker.Producer<V>

    A producer implementation that produces items from a stream

    Author:
    David B. Bracewell
    • Constructor Detail

      • StreamProducer

        public StreamProducer​(Stream<? extends V> stream)
        Instantiates a new Stream producer.
        Parameters:
        stream - the stream