Now we've got ES6 `Promise` support from within .js, I think it's a good time to add the C API as well :)