Two different patterns:
Acting on a single object by multiple services that can modify it as they wish. So basically we would have some kind of a "chain" that modifies a single object by going through multiple handlers, that can be added to it. The modified object is an output of such chain. Every element of the chain has to support modifying our input object by implementing the same interface.
We can register multiple services to process our object, but only the first one/the one with the highest priority "wins". The output can be anything, all services implement the common interface, but not all have to support processing of our input object. The one with the highest priority that actually can handle our object wins.
Do they have specific names? What would be the closest patterns to them?