@Nonnull
    default <T> Promise<T> supply(@Nonnull Supplier<T> supplier) {
        Objects.requireNonNull(supplier, "supplier");
        return Promise.supplying(getContext(), supplier);
    }
Compute the result of the passed supplier.

@param supplier the supplier
@param <T>      the return type
@return a Promise which will return the result of the computation
helper/src/main/java/me/lucko/helper/scheduler/Scheduler.java