Renamed completed promise to whenDone, renamed done to onceDone, made done an alias for onceDone