Class SubscribableSingle<T>

java.lang.Object
io.servicetalk.concurrent.api.Single<T>
io.servicetalk.concurrent.api.internal.SubscribableSingle<T>
Type Parameters:
T - Type of result of this SubscribableSingle.
All Implemented Interfaces:
SingleSource<T>
Direct Known Subclasses:
SourceWrappers.SingleSource

public abstract class SubscribableSingle<T> extends Single<T> implements SingleSource<T>
A Single that is also a SingleSource and hence can be subscribed.

Typically, this will be used to implement a Single that does not require an additional allocation when converting to a SingleSource via SourceAdapters.toSource(Single).