kin-android / org.kin.sdk.base.tools / Promise / create
fun <T> create(work: (resolve: (T) -> Unit, reject: (Throwable) -> Unit) -> Unit): Promise<T>
fun <T> create(work: (resolve: (T) ->
Unit
, reject: (
Throwable
) ->
):
Promise
<T>