Promise support in API #573; fyi @rmosca