reset

fun reset()

Closes the current window so the next run call is permitted.

A reset that races an in-progress run may be superseded by that run's new window.

Cancellation: this function does not suspend and performs no cancellation checks.