inline types on their usage files
improved code on settle
allCompleted and allRejected helpers