toFieldStrict

abstract fun <T> toFieldStrict(kType: KType, params: Map<String, Any?> = emptyMap(), onResult: (DataResult<T>) -> Unit): Job

Asynchronously fetches a single value (strict: always fails on empty result) and passes the result to the onResult callback.