pub fn with_published<R>( window: &mut Window, cx: &mut App, phase: Phase, f: impl FnOnce() -> R, ) -> R
Publishes window + cx for the duration of f, after settling an owed checkpoint.
window
cx
f