Spinning pulsed detonation in rotating detonation engine