Exported Promise as a global