editor promisified