Skip to content

Removes the lifecycle trait#115

Merged
gbin merged 3 commits into
masterfrom
gbin/remove-lifecycle
Dec 1, 2024
Merged

Removes the lifecycle trait#115
gbin merged 3 commits into
masterfrom
gbin/remove-lifecycle

Conversation

@gbin

@gbin gbin commented Nov 28, 2024

Copy link
Copy Markdown
Collaborator

It split artificially the implementation of tasks and couples the passed types.

@mik90 mik90 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Flattening the hierarchy makes sense, this makes it easier to read

Comment thread core/cu29/src/cutask.rs Outdated
where
Self: Sized;

/// Start is called once for a long period of time.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This comment was there beforehand, but what does "long period of time" entail. Like it's allowed/expected to take a long time?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed thanks.

It split artificially the implementation of tasks and couples the passed
types.
@gbin gbin force-pushed the gbin/remove-lifecycle branch from bcad913 to 2d3e998 Compare November 28, 2024 19:58
@gbin gbin merged commit 178174a into master Dec 1, 2024
@gbin gbin deleted the gbin/remove-lifecycle branch December 1, 2024 15:07
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.

3 participants