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

Split Task into multiple files. #24

Merged
merged 1 commit into from
Jun 1, 2016
Merged

Conversation

richardjrossiii
Copy link
Member

This helps for readability, and keeping every file concerned with a
single aspect of 'Task'.

import Foundation

extension Task {
// MARK: Continuations
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Remove this mark, as it's pretty much useless 😁

Also, might be a good idea to split continueWith/continueOnSuccess/continueOnError into separate extensions and add marks for all of them that designate sections. Should improve navigation in this source file, or at least I hope so...

This helps for readability, and keeping every file concerned with a
single aspect of 'Task'.
@richardjrossiii richardjrossiii merged commit 3f10966 into master Jun 1, 2016
@richardjrossiii richardjrossiii deleted the richardross.task.split branch June 1, 2016 20:52
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.

2 participants