Interface SingleSource<T>

  • Type Parameters:
    T - Type of the result of this SingleSource.
    All Known Subinterfaces:
    SingleSource.Processor<T,​R>
    All Known Implementing Classes:
    SourceWrappers.SingleSource, SubscribableSingle, TestSingle
    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 SingleSource<T>
    An asynchronous computation that either completes with success giving the result or completes with an error.