code: public final void resolve(Object value) {
  		toCompletableFuture(value).handle((data, error) -> {
  			if (error == null) {
  				future.complete(data);
  			} else {
  				future.completeExceptionally(error);
  			}
  			return data;
  		});
  	}
docs: Resolves the value of the current Promise with the given value.
  Allowed Object types of the "value" parameter are: Tree, String, int,
  double, byte, float, short, long, boolean, byte[], UUID, Date,
  InetAddress, BigInteger, BigDecimal, and Java Collections with these
  types.
  
  @param value
  value of the current Promise