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

Hide internal Task constructors #2492

Merged
merged 1 commit into from
Jul 4, 2024
Merged

Conversation

hecrj
Copy link
Member

@hecrj hecrj commented Jul 4, 2024

This PR converts the private constructors of a Task into free functions inside the task module.

This way, we can expose the Task type publicly without necessarily exposing its internal constructors to users.

@hecrj hecrj added this to the 0.13 milestone Jul 4, 2024
@hecrj hecrj enabled auto-merge July 4, 2024 23:18
@hecrj hecrj merged commit e50aa03 into master Jul 4, 2024
24 checks passed
@hecrj hecrj deleted the hide-internal-task-constructors branch July 4, 2024 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant