类型别名 StatefulAction实验性

StatefulAction: {
    actionType: StatefulAction;
    onExecute: (active: boolean) => void;
}

An action which returns the activation state.