Interface Emitter<T>
- Type Parameters:
T
- type of element
- All Superinterfaces:
Completable
- All Known Implementing Classes:
CompletionAwareSubscriber
,JacksonCoreProcessor
,JacksonProcessor
,SingleSubscriberProcessor
,SingleThreadedBufferingProcessor
,SingleThreadedBufferingSubscriber
,TypedSubscriber
Base interface for classes that emit data. See
Subscriber
.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Method Summary
Methods inherited from interface io.micronaut.core.async.subscriber.Completable
onComplete
-
Method Details
-
onNext
Data notification sent by thePublisher
in response to requests toSubscription.request(long)
.- Parameters:
t
- the element signaled
-
onError
Failed terminal state.No further events will be sent even if
Subscription.request(long)
is invoked again.- Parameters:
t
- the throwable signaled
-