Interface SingleOnSubscribe<T>

Type Parameters:
T - the value type pushed
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SingleOnSubscribe<@NonNull T>
A functional interface that has a subscribe() method that receives a SingleEmitter instance that allows pushing an event in a cancellation-safe manner.