wrap

fun <T> wrap(promise: ListenableFuture<T>): JsPromise<T>