You are radically more likely to get your basic needs meet when you announce them to your partner/friend/boss/parent.
“I could use for you to hear me out before you respond”
“I just need to vent right now; I don’t need you to fix anything or give me suggestions right now”
“I am feeling really tender, so I need you to be gentle”
“I am not mad at you; I am just really frustrated right now”
Well intentioned folks can get it really wrong, so being clear about what you want can help them hear and respond with your stated needs in mind. Give it a try; like headlines before an article!