BoltsFramework / Bolts-Swift

Bolts is a collection of low-level libraries designed to make developing mobile apps easier.
Other
1.32k stars 124 forks source link

Cancellation Token #39

Open AEugene opened 8 years ago

AEugene commented 8 years ago

Hi @nlutsenko. Are you planning to add Cancellation Token to current implementation?

nlutsenko commented 8 years ago

Yes. 😁 It's in the long-term plan, but if anyone wants to take a stab at it - I would love to merge it in.

Roman-Andreyenko commented 6 years ago

Hi @nlutsenko. I am trying to wrap HTTP request with Bolts-Swift task. I use Moya for this https://github.com/Moya/Moya. Moya request has Cancellation Token. I would like to cancel Moya's Cancellation Token, when Bolts-Swift task was cancelled. How can I do that in right way?