Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a new executor which takes an escaping closure #58

Merged
merged 1 commit into from
May 3, 2017
Merged

Adding a new executor which takes an escaping closure #58

merged 1 commit into from
May 3, 2017

Conversation

sebleclerc
Copy link
Contributor

Since migrating to Swift3, all closure are now non escaping by default. The closure passed to the Executor was calling the perform function from NSManagedObjectContext from CoreData which required an escaping closure.

That's why I added a new case for the Executor. I didn't want to modify the existing one to make sure it didn't break anything.

Feel free to comment / discuss about this.

@nlutsenko
Copy link
Member

This is a great addition!
Thank you!

@nlutsenko nlutsenko added this to the 1.3.0 milestone May 3, 2017
@nlutsenko nlutsenko merged commit 7e5e973 into BoltsFramework:master May 3, 2017
@nlutsenko nlutsenko modified the milestones: 1.3.0, 1.4.0 Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants