singleOf

fun <T> singleOf(value: T): Single<T>

Returns a Single that emits the specified value.

Please refer to the corresponding RxJava document.