Open andreterron opened 4 years ago
The successes function behavior can be achieved using PromiseKit's when(fulfilled:) and Promise.recover.
successes
when(fulfilled:)
Promise.recover
This reduces the need to keep up with the ids for errors, and means one less helper function to be maintained
The
successes
function behavior can be achieved using PromiseKit'swhen(fulfilled:)
andPromise.recover
.This reduces the need to keep up with the ids for errors, and means one less helper function to be maintained