CallbackOnPipe
The CallbackOnPipe
pipe will trigger a pipeline whenever it is executed in the pipeline.
A common use-case is to trigger a state change in its pipeline component whenever the pipeline is done.
It takes a single prop named callback
.
In the following example, an alternative state will display when clicking the first button. It will disappear again when the pipeline is done.