I think it's a nice thing to do, in any occasion (except when it's urgent) (friends, coworkers, family,…), to call someone (by saying their name or with a gesture, or something), let them take time to focus on you (and possibly write some note so they can come back to whatever they were doing easily), and then speak.
I know multiple people who need some time to switch to you when they are focused (either they can't listen before, or they can but would lose their track). And that's fine. And they are probably not autistic. They usually don't need to be called multiple times though, that would be a bit annoying but hey, what can one do. I'd probably get used to it.
I don't usually need time to switch to someone interrupting me but certainly don't like it when the other one assumes I'm listening before I showed I'm listening.