public class TestPublisher$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static TestPublisher$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
TestPublisher$() |
Modifier and Type | Method and Description |
---|---|
<T> org.reactivestreams.Publisher<T> |
empty()
Publisher that signals complete to subscribers, after handing a void subscription.
|
<T> org.reactivestreams.Publisher<T> |
error(java.lang.Throwable cause)
Publisher that signals error to subscribers immediately after handing out subscription.
|
<T> org.reactivestreams.Publisher<T> |
lazyEmpty()
Publisher that subscribes the subscriber and completes after the first request.
|
<T> org.reactivestreams.Publisher<T> |
lazyError(java.lang.Throwable cause)
Publisher that subscribes the subscriber and signals error after the first request.
|
<T> TestPublisher.ManualProbe<T> |
manualProbe(boolean autoOnSubscribe,
ActorSystem system)
Probe that implements
Publisher interface. |
<T> TestPublisher.Probe<T> |
probe(long initialPendingRequests,
ActorSystem system)
Probe that implements
Publisher interface and tracks demand. |
public static final TestPublisher$ MODULE$
public <T> org.reactivestreams.Publisher<T> empty()
public <T> org.reactivestreams.Publisher<T> lazyEmpty()
public <T> org.reactivestreams.Publisher<T> error(java.lang.Throwable cause)
cause
- (undocumented)public <T> org.reactivestreams.Publisher<T> lazyError(java.lang.Throwable cause)
cause
- (undocumented)public <T> TestPublisher.ManualProbe<T> manualProbe(boolean autoOnSubscribe, ActorSystem system)
Publisher
interface.autoOnSubscribe
- (undocumented)system
- (undocumented)public <T> TestPublisher.Probe<T> probe(long initialPendingRequests, ActorSystem system)
Publisher
interface and tracks demand.initialPendingRequests
- (undocumented)system
- (undocumented)