Forcing a redraw within a command

I have some Prose Mirror commands that change some cosmetic settings (such as changing the editor’s css theme, which would not by itself be a part of a transform), and within those commands I want to trigger a complete redraw of the DOM. Commands that trigger transforms would inherently cause the display to get updated, but without them I want to be able to have PM schedule a complete redraw of the browser contents so that the page gets updated with the new settings having been saved.

I clearly do not want the update to happen during the command execution, I just want to get it scheduled.

Should be simple, but not thinking of an immediate solution. Ideas?