Group Group Group Group Group Group Group Group Group

What are the Advantages of using PromiseKit rather than RxSwift Single trait

#1

If you use the RxSwift ‘Single’ trait you get a single return value instead of a stream of values. And PromiseKit could be removed and there wouldn’t be an additional dependency.

But I don’t really know if there is any advantage of using PromiseKit Instead.

2 Likes
#2

@rcach @jab2109 Can you please help with this when you get a chance? Thank you - much appreciated! :]

#3

Hi @itspecialists. :+1: Single is definitely an alternative to using promises. It’s a bit more nuanced than that, but it does boil down to preference. I’ll drop a more thorough response in a couple of weeks. Apologies for the quick reply, I’m currently wrapping up writing for the book. Cheers!

2 Likes