API UnitAuraBySlot

Needs summary.
 name, icon, count, debuffType, duration, expirationTime, source, isStealable,
 nameplateShowPersonal, spellId, canApplyAura, isBossDebuff, castByPlayer, nameplateShowAll, timeMod, ... = UnitAuraBySlot(unit, slot)
==Arguments==
:;unit: : UnitId
:;slot: - Aura slot from ()
==Returns==
==Details==
It's recommended to just use AuraUtil.ForEachAura() instead of UnitAuraBySlot() & UnitAuraSlots() as it'll "do the right thing". Note that this API is not available on Classic.
2022-08-25 | Meorawr @ Discord
With UnitAura the index parameter is a relative index into a list of auras specified by the filter parameter - so assuming zero optimizations each call effectively means that the client needs to traverse over the aura list each time counting how many auras match the given filter until the index is reached.
In reality it's likely got a basic optimization in-place that allows successive calls with the same unit/filter parameter to continue, thus bypassing that search.
UnitAuraSlots "advantage" is that it:
# Doesn't return just one aura slot.
# It returns a continuation token marking the number of slots the API can skip on the next call - basically making that above theoretical optimization explicit.
==Patch changes==