create

fun <T> create(subscriptionHandler: (Observer<T>) -> Disposable): Observable<T>

Used to create a custom Observable implementation whereby the subscriptionHandler will be call upon an Observer subscribing to the returned Observable

Parameters

subscriptionHandler

the handler to call upon subscription