Some psi abilities have effects that last for a turn, and then do something special on the next turn. The Codex's Psi Bomb and (spoiler)
Avatar's Dimensional Rift
are the two abilities that come to mind.
Stasis is another psi ability that will last for a turn, which protects a unit (friendly or otherwise) from damage for a turn.
I had a situation where I cast Stasis on a soldier who was surrounded by a pack of Chryssalids, then nuked the pack with a Dimensional Rift and grenades. The Stasis bubble protected my soldier from friendly fire, but on the next turn, the Stasis bubble expired before Dimensional Rift's second detonation effect activated, which meant that my soldier ended up taking damage from Dimensional Rift's second effect on the following turn.
I'm curious about in which order do psi abilties expire in general, when they're interacting with Stasis. Does it matter whether or not the psi ability is cast by my own soldier (e.g. Dimensional Rift), or an enemy unit (e.g. a Codex Psi Bomb)?
If a Codex casts Psi Bomb on a soldier, and then I cast Stasis on the same soldier, during the next turn, will Stasis expire before or after the Psi Bomb detonates?