comment promiseFromPartitionArray