then

kotlin-stdlib / kotlin.js / then
 

Platform and version requirements: JS (1.1) 

inline fun <T, S> Promise<Promise<T>>.then(
    noinline onFulfilled: ((T) -> S)?
): Promise<S> 

inline fun <T, S> Promise<Promise<T>>.then(
    noinline onFulfilled: ((T) -> S)?, 
    noinline onRejected: ((Throwable) -> S)?
): Promise<S> 


    
{'path': 'public/docs/kotlin~1.4/api/latest/jvm/stdlib/kotlin.js/then.html', 'source': 'DevDocs.IO'}