Closed veewee closed 8 years ago
In a Task service it must be possible to add a "priority" tag to the service configuration. E.g.:
parameters: tasks: taskname: metadata: priority: 1000
The higher the priority, the earlier the task is executed. The tasks will be sorted during runtime in the TasksCollection or in the TasksComilerPass.
The metadata functionallity is already available with the getTaskMetadata() method on the GrumPHP object.
getTaskMetadata()
More information: https://github.com/phpro/grumphp/blob/master/doc/tasks.md#metadata
Fixed in #92
In a Task service it must be possible to add a "priority" tag to the service configuration. E.g.:
The higher the priority, the earlier the task is executed. The tasks will be sorted during runtime in the TasksCollection or in the TasksComilerPass.
The metadata functionallity is already available with the
getTaskMetadata()
method on the GrumPHP object.More information: https://github.com/phpro/grumphp/blob/master/doc/tasks.md#metadata