File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -564,8 +564,9 @@ registry: `register` and `deregister`. Use `register` to add items and
564
564
` deregister ` to remove items. See each method for specifics.
565
565
566
566
When registering an item, a "name" and a "priority" must be provided. All
567
- items are automatically sorted by "priority" from highest to lowest. The
568
- "name" is used to remove (` deregister ` ) and get items.
567
+ items are automatically sorted by the value of the "priority" parameter such
568
+ that the item with the highest value will be processed first. The "name" is
569
+ used to remove (` deregister ` ) and get items.
569
570
570
571
A ` Registry ` instance is like a list (which maintains order) when reading
571
572
data. You may iterate over the items, get an item and get a count (length)
You can’t perform that action at this time.
0 commit comments