Promise.cast -> Promise.resolve