I have this code in Android that creates a Single observable.
override fun getItems(): Single { var disposable: Disposable? = null return S