Class TypedSubscriber<T>
java.lang.Object
io.micronaut.core.async.subscriber.CompletionAwareSubscriber<T>
io.micronaut.core.async.subscriber.TypedSubscriber<T>
- Type Parameters:
T
- Type of TypedSubscriber
- All Implemented Interfaces:
Completable
,Emitter<T>
,Subscriber<T>
A subscriber that is aware of the target type.
- Since:
- 1.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from class io.micronaut.core.async.subscriber.CompletionAwareSubscriber
subscription
-
Constructor Summary
ConstructorDescriptionTypedSubscriber
(Argument<T> typeArgument) Constructs a newTypedSubscriber
for the givenArgument
. -
Method Summary
Methods inherited from class io.micronaut.core.async.subscriber.CompletionAwareSubscriber
doOnComplete, doOnError, doOnNext, doOnSubscribe, isComplete, onComplete, onError, onNext, onSubscribe
-
Constructor Details
-
TypedSubscriber
Constructs a newTypedSubscriber
for the givenArgument
.- Parameters:
typeArgument
- The type argument
-
-
Method Details
-
getTypeArgument
- Returns:
- The type argument
-