A promise library written in Swift