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

Follow up from #60, allow creating child contexts from main or background context #73

Closed
jessesquires opened this issue Apr 26, 2016 · 0 comments
Assignees
Milestone

Comments

@jessesquires
Copy link
Owner

jessesquires commented Apr 26, 2016

Given #60, we currently create child contexts from the mainContext only.

We should allow an easy way to create child contexts from both.

Proposed solution:

  • Add an enum to specify either .main or .background
  • Pass this option to the child context creation method, default to .main

Update:

  • Use concurrencyType to determine the correct parent context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant