Swindler
Swindler copied to clipboard
Replace successes with PromiseKit's when
The successes
function behavior can be achieved using PromiseKit's when(fulfilled:)
and Promise.recover
.
This reduces the need to keep up with the ids for errors, and means one less helper function to be maintained