expectRestart

fun expectRestart(window: Duration = DEFAULT_WINDOW)(source)

Opens (or extends) the expected-restart window. Call at the moment the restart-causing action is sent.