Probably very dependent on the child and situation, but anything that might break their focus on the situation: changing subject; doing something silly; showing some other interesting thing; sometimes just stop engaging the tantrum can work.
A child in a tantrum has their mind stuck in a loop, helping them break out of it and/or refocus makes it easier to deal with the situation reasonably.
— what a bothersome thing!
— ?
— you call me right when I’m not going!
(bedtime)