Conversation
- Update CMakeLists.txt to change project name, library names, targets, options, and install configurations to TaskFlow - Update README.md title and description to reflect the new TaskFlow branding
…nfiguration - Introduce persistent tasks that can be reawakened with new parameters after completion - Add support for storing and retrieving task execution results using JSON payloads - Implement configurable task traits for observability, cancellation, and lifecycle options - Update documentation with examples for the new features - Enhance TaskManager with methods like reawaken_task, is_persistent_task, and get_result to support these capabilities This improves task reusability, result persistence, and customization for better task management in concurrent environments.
Removed unused TaskProgressInfo template struct from state_storage.hpp. Added static assertion in set_progress method to validate ProgressType constraints (size <= 1024 bytes, trivially copyable or allowed types like std::string/nlohmann::json), with detailed error messages to prevent misuse and recommend alternatives like ResultStorage. Improved code formatting and include order in task_traits.hpp for better readability and consistency.
- Replace single taskflow_example executable with individual executables for each example (basic_task_submission, multiple_tasks, task_with_failure, task_with_progress, task_with_result, persistent_task) to improve modularity and ease of testing. - Remove unused code from task_traits.hpp, including priority_traits, state_transition_traits, validate_priority, is_valid_task_input, and TaskResult struct, to simplify the codebase and remove obsolete features.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.