Promise

fun Promise(executor: (resolve: (Any) -> Unit, reject: (Any) -> Unit) -> Unit)