resolve

fun <S> resolve(e: S): Promise<S>
fun <S> resolve(e: Promise<S>): Promise<S>