exporting promiseArray in Cs namespace