Skip to content

Hide internal Task constructors#2492

Merged
hecrj merged 1 commit intomasterfrom
hide-internal-task-constructors
Jul 4, 2024
Merged

Hide internal Task constructors#2492
hecrj merged 1 commit intomasterfrom
hide-internal-task-constructors

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
@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

Comments