There are so many things in game which have some kind of a life time. A bullet, an effect, vanishing tiles in a can't stop running game, dying enemies and many more things which have a life time.
In the past I would have done it seperately depending in which situation something hast to vanish. With the ECS you can solve all of them with one component and one system.
Depending on what delta you handed over to the constructor getPercent will increase slowely or quickly to wards 1, representing the progress of the decay.
To handle all the entities with a decay you need a system.
In the update loop we go through all entities with a Decay and check if the decay is bigger or equal 1 to remove the entity. After this point in your game you have a time to life for every entity with a Decay component, you don't need to care any more about destroing this entity. Also getPercent could be displayed in a progress bar. Also you can easily update a timeout by just set a new Decay component to your entity which will overwrite the existing one.
The decay system was the point of no return for me to use ECS, this thing here convinced me that there is no better and no easier way than a ECS to hack a game.