A method of operating a rotating detonation combustor system, with the rotating detonation combustor system including a rotating detonation combustor extending along an axis, having an outer all extending along and circumferentially about the axis, and having an inner wall extending along and circumferentially about the axis, with the inner wall spaced radially inward relative to the outer wall such that a combustion chamber is defined between the outer wall and the inner wall, and with the electrical generator system including a turbine wheel in fluid communication with the combustion chamber, a shaft rotatable with the turbine wheel, a compressor wheel rotatable with the shaft and in fluid communication with the combustion chamber, and an electric machine rotatable with the shaft, said method comprising the steps of:
- rotating the shaft and the compressor wheel with the electric machine;
- and
- delivering compressed oxidizing agent to the combustion chamber.