executeOrConfirm

Executes the given ChannelAction immediately if it doesn't require confirmation, or stores it as activeChannelAction to show a confirmation dialog.

Parameters

action

The action to execute or confirm.