Tasks should be able to report their progress #2
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No project
No assignees
1 participant
Notifications
Total time spent: 15 minutes
Due date
c.fahner
15 minutes
No due date set.
Blocks
#3 Tasks should be able to report warnings
slendium/build
Reference
slendium/build#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently tasks are all-or-nothing (until an exception is thrown).
Tasks should be able to publish progress updates. This introduces a
Task\Updateinterface and changes the return type ofTask::run()toiterable<Task\Update>. TheTasknamespace will contain one implementation:ProgressUpdate.Return iterable<TaskUpdate> from Taskto Tasks should report progress updatesTasks should report progress updatesto Tasks should be able to report their progressThe README should also be updated with an example task that uses the progress updates.