Like a "sync" or "drawscreen" command in the middle of an event or loop?
Develop games in your browser. Powerful, performant & highly capable.