Interface Publisher<T>

Type Parameters:
T - the type of element signaled.
All Known Subinterfaces:
Processor<T,R>

public interface Publisher<T>
A Publisher is a provider of a potentially unbounded number of sequenced elements, publishing them according to the demand received from its Subscriber(s).

A Publisher can serve multiple Subscribers subscribed subscribe(Subscriber) dynamically at various points in time.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    subscribe(Subscriber<? super T> s)
    Request Publisher to start streaming data.