execute

fun <T> execute(action: () -> Promise<T>, isRetryable: (JsError) -> Boolean = definedExternally): Promise<T>(source)