I tell them I’m going somewhere in a few minute.
In the digital world, turning off notifications, keeping your phone away, disconnecting you from your mailbox… can be some ideas to keep you on task… and allowing some special time slots to keep up
I think step number 1 would be to even RECOGNIZE those people and that you dont want to be around that energy. Then it will work itself out hopefully!
By valuing my own person though, I have learned to gently explains to others that I need to have the space to do these things for myself.
If they genuinely care about me they will want me to support myself mentally emotionally and physically and in any other way that I can.
Rarely do we find such friends but we never do forget those In our lives who have such respect.
I also make sure to check in with myself and ask myself how I’m doing every day. If someone contacts me and asks for my time and I’m not in a good enough place to be able to deal with them, I politely decline and say “thank you, I’m afraid I can’t today but another day that’d be great”. I find that works really well for me.