Nested events - How to invoke mouse event click within mouse event click?

Hi,

On mouse button click, I perform “Attack” method.
Within this method, I would like to check if the mouse button was pressed once again (user confirmation).
How is it achievable in this new Input System?

void OnAttack(InputAction.CallbackContext context)
{
    if (context.performed)
    {
        Attack();
      
    }
}

void Attack()
{
    if(type1)
    {
        PrepareType1();
        if(mouseclick) // confirm type1
        {
            ExecuteType1();
        }
    }
  
}

No response? This should be the most basic stuff.

    void OnAttack(InputAction.CallbackContext context)
    {
        if (context.performed)
        {
            Attack(true);
        }
    }
    void Attack(bool onAttackContext = false)
    {
        if(type1)
        {
            PrepareType1();
            if(onAttackContext) // confirm type1
            {
                ExecuteType1();
            }
        }
    }

Did you think something like this? Or something else? I really don’t understand what are you confirming… What do you mean when you use the term “user confirmation”?