hi there, I migrate from PromiseKit to promises recently, and I have a question that is there any way to return a Promise with resolved value to make promise chain go next then(). for example:
[self fetchRemoteData]
.then(^id (id rawData) {
// do result transformed data
return transformedData
})
.catch(^(NSError *error) {
// get transiformed result from local catch
return cacheDataWhichHasBeenTransiformed
})
.then(^(id transformedData) {
// dosomething
})
hi there, I migrate from PromiseKit to promises recently, and I have a question that is there any way to return a Promise with resolved value to make promise chain go next then(). for example: