Runtime constraints on SPI DMA callback

What runtime constraints does the SPI DMA callback operate under? User thread vs system thread? Interrupt time? Called from Particle.process?

Thanks

@airbornemint, treat the callback as an interrupt, which is actually how it is generated via the DMA controller.

Thanks