Class TypedSubscriber<T>

  • Type Parameters:
    T - Type of TypedSubscriber
    All Implemented Interfaces:
    Completable, Emitter<T>, org.reactivestreams.Subscriber<T>

    public abstract class TypedSubscriber<T>
    extends CompletionAwareSubscriber<T>
    A subscriber that is aware of the target type.
    Since:
    1.0
    • Constructor Detail

      • TypedSubscriber

        public TypedSubscriber​(io.micronaut.core.type.Argument<T> typeArgument)
        Constructs a new TypedSubscriber for the given Argument.
        Parameters:
        typeArgument - The type argument
    • Method Detail

      • getTypeArgument

        public io.micronaut.core.type.Argument<T> getTypeArgument()
        Returns:
        The type argument