publisherOf

@CheckReturnValue
fun <T : Any> publisherOf(items: Iterable<T>): Publisher<T>

Exposes a fixed items sequence as a Publisher -- the Java-friendly way for a synchronous model or agent (extending a BasePublisher* base) to return already-computed values. Elements must be non-null; Reactive Streams forbids null.