toSingleOf
abstract fun <T> toSingleOf(kType: KType, params: Map<String, Any?> = emptyMap(), onResult: (DataResult<T>) -> Unit): Job
Asynchronously maps the result to a single object and passes it to the onResult callback.
Asynchronously maps the result to a single object and passes it to the onResult callback.