java.lang.Object
com.github.mizosoft.methanol.testing.EmptyPublisher<T>
- All Implemented Interfaces:
Flow.Publisher<T>
A publisher that completes subscribers immediately.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> EmptyPublisher
<T> instance()
void
subscribe
(Flow.Subscriber<? super T> subscriber)
-
Method Details
-
subscribe
- Specified by:
subscribe
in interfaceFlow.Publisher<T>
-
instance
-