Should we implement PromiseKit? It may make the usage of the Stretchr SDK even better. For example:
[stretchr readResourceAtPath:@"people/tyler"].then(^(STResource* resource){
// do something
}).catch(^(NSError* error){
// handle error
});
Multiple "then" methods can be chained, allowing the user-programmer to do async operations, in sequence, very easily.
This could also be used inside the SDK to implement our own functionality, resulting in cleaner code.
@matryer et al: thoughts?
Should we implement PromiseKit? It may make the usage of the Stretchr SDK even better. For example:
Multiple "then" methods can be chained, allowing the user-programmer to do async operations, in sequence, very easily.
This could also be used inside the SDK to implement our own functionality, resulting in cleaner code.
@matryer et al: thoughts?