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()voidsubscribe(Flow.Subscriber<? super T> subscriber)
-
Method Details
-
subscribe
- Specified by:
subscribein interfaceFlow.Publisher<T>
-
instance
-