updateMode

abstract fun updateMode(mode: SLMode)

Here we can define what should happen on modechanges. Most commonly we just want to enable/disable the pipe based on selected mode. But this is not always the case. Sometimes we might want to cancel an ongoing process

This function is expected to be called before the pipeline is started to correctly enable/disable all pipes initally