promised

from Node-style callback API to promise API

from Node style callback APIs to promise APIs